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