Class SpdxViewer

java.lang.Object
org.spdx.tools.SpdxViewer

public class SpdxViewer extends Object
Simple pretty printer for SPDX RDF XML files. Writes output to System.out. Usage: PrettyPrinter SPDXRdfXMLFile > textFile where SPDXRdfXMLFile is a valid SPDX RDF XML file
Version:
0.1
Author:
Gary O'Neall
  • Constructor Details

    • SpdxViewer

      public SpdxViewer()
  • Method Details

    • main

      public static void main(String[] args)
      Pretty Printer for an SPDX Document
      Parameters:
      args - args[0] SPDX file path; args[1] [RDFXML|JSON|XLS|XLSX|YAML|TAG] an optional file type - if not present, file type of the to file will be used