Package org.spdx.tools
Class SpreadsheetToRDF
java.lang.Object
org.spdx.tools.SpreadsheetToRDF
public class SpreadsheetToRDF extends Object
Converts a spreadsheet to an SPDX RDF Analysis file
Usage: SpreadsheetToRDF spreadsheetfile.xls rdfxmlfile.rdf
where spreadsheetfile.xls is a valid SPDX Spreadsheet and
rdfxmlfile.rdf is the output SPDX RDF Analysis file.
- Author:
- Gary O'Neall
-
Constructor Summary
Constructors Constructor Description SpreadsheetToRDF() -
Method Summary
Modifier and Type Method Description static SpdxDocumentcopySpreadsheetToSPDXAnalysis(SPDXSpreadsheet ss)static voidmain(String[] args)static List<String>onlineFunction(String[] args)
-
Constructor Details
-
SpreadsheetToRDF
public SpreadsheetToRDF()
-
-
Method Details
-
main
- Parameters:
args-
-
onlineFunction
- Parameters:
args- args[0] is the Spreadsheet file to be converted, args[1] is the result RDF file name- Returns:
- Warnings of the conversion, displayed to the user
- Throws:
OnlineToolException- Exception caught by JPype and displayed to the user
-
copySpreadsheetToSPDXAnalysis
public static SpdxDocument copySpreadsheetToSPDXAnalysis(SPDXSpreadsheet ss) throws SpreadsheetException, InvalidSPDXAnalysisException
-