Package org.spdx.tools
Class RdfToSpreadsheet
java.lang.Object
org.spdx.tools.RdfToSpreadsheet
public class RdfToSpreadsheet extends Object
Translates an RDF XML file to a SPDX Spreadsheet format
Usage: RdfToSpreadsheet rdfxmlfile.rdf spreadsheetfile.xls
where rdfxmlfile.rdf is a valid SPDX RDF XML file and spreadsheetfile.xls is
the output SPDX spreadsheeet file.
- Author:
- Gary O'Neall
-
Field Summary
Fields Modifier and Type Field Description static StringNOT_SUPPORTED_STRING -
Constructor Summary
Constructors Constructor Description RdfToSpreadsheet() -
Method Summary
Modifier and Type Method Description static voidcopyRdfXmlToSpreadsheet(SpdxDocument doc, SPDXSpreadsheet ss)static voidmain(String[] args)static List<String>onlineFunction(String[] args)
-
Field Details
-
NOT_SUPPORTED_STRING
- See Also:
- Constant Field Values
-
-
Constructor Details
-
RdfToSpreadsheet
public RdfToSpreadsheet()
-
-
Method Details
-
main
- Parameters:
args-
-
onlineFunction
- Parameters:
args- args[0] is the RDF file to be converted, args[1] is the result HTML file name- Returns:
- Warnings of the conversion, displayed to the user
- Throws:
OnlineToolException- Exception caught by JPype and displayed to the user
-
copyRdfXmlToSpreadsheet
public static void copyRdfXmlToSpreadsheet(SpdxDocument doc, SPDXSpreadsheet ss) throws InvalidSPDXAnalysisException, SpreadsheetException
-