Class RdfToTag

java.lang.Object
org.spdx.tools.RdfToTag

public class RdfToTag
extends Object
Translates an RDF XML file to a tag-value format Usage: RdfToTag rdfxmlfile.rdf spdxfile.spdx where rdfxmlfile.rdf is a valid SPDX RDF XML file and spdxfile.spdx is the output SPDX tag-value file.
Author:
Rana Rahal, Protecode Inc.
  • Constructor Details

  • Method Details

    • main

      public static void main​(String[] args)
      Parameters:
      args - Argument 0 is a the file path name of the SPDX RDF/XML file
    • onlineFunction

      public static List<String> onlineFunction​(String[] args) throws OnlineToolException
      Parameters:
      args - args[0] is the RDF file to be converted, args[1] is the result Tag file name
      Returns:
      Warnings of the conversion, displayed to the user
      Throws:
      OnlineToolException - Exception caught by JPype and displayed to the user