public class RdfToHtml extends Object
| Constructor and Description |
|---|
RdfToHtml() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
static List<String> |
onlineFunction(String[] args) |
static void |
rdfToHtml(SpdxDocument doc,
File docHtmlFile,
File licenseHtmlFile,
File snippetHtmlFile,
File docFilesHtmlFile) |
static void |
rdfToHtml(SpdxDocument doc,
File templateDir,
File docHtmlFile,
File licenseHtmlFile,
File snippetHtmlFile,
File docFilesHtmlFile) |
public static void main(String[] args)
args - Argument 0 is the file path of RDF XML file; argument 1 is the
file path for the output HTML file(s)public static List<String> onlineFunction(String[] args) throws OnlineToolException
args - args[0] is the RDF file to be converted, args[1] is the result
HTML file nameOnlineToolException - Exception caught by JPype and displayed to the userpublic static void rdfToHtml(SpdxDocument doc, File templateDir, File docHtmlFile, File licenseHtmlFile, File snippetHtmlFile, File docFilesHtmlFile) throws com.github.mustachejava.MustacheException, IOException, InvalidSPDXAnalysisException
com.github.mustachejava.MustacheExceptionIOExceptionInvalidSPDXAnalysisExceptionpublic static void rdfToHtml(SpdxDocument doc, File docHtmlFile, File licenseHtmlFile, File snippetHtmlFile, File docFilesHtmlFile) throws com.github.mustachejava.MustacheException, IOException, InvalidSPDXAnalysisException
com.github.mustachejava.MustacheExceptionIOExceptionInvalidSPDXAnalysisExceptionCopyright © 2018 Linux Foundation. All Rights Reserved.