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 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

      public static Properties getTextFromProperties(String path) throws IOException
      Throws:
      IOException