Package org.spdx.tag
Class CommonCode
java.lang.Object
org.spdx.tag.CommonCode
public class CommonCode extends Object
Define Common methods used by Tag-Value and SPDXViewer to print the SPDX
document.
- Author:
- Rana Rahal, Protecode Inc.
-
Constructor Summary
Constructors Constructor Description CommonCode() -
Method Summary
Modifier and Type Method Description static PropertiesgetTextFromProperties(String path)static voidprintDoc(SpdxDocument doc, PrintWriter out, Properties constants)
-
Constructor Details
-
CommonCode
public CommonCode()
-
-
Method Details
-
printDoc
public static void printDoc(SpdxDocument doc, PrintWriter out, Properties constants) throws InvalidSPDXAnalysisException- Parameters:
doc-out-constants-- Throws:
InvalidSPDXAnalysisException
-
getTextFromProperties
- Throws:
IOException
-