public class Verify extends Object
| Constructor and Description |
|---|
Verify() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
static List<String> |
verify(String filePath)
Verify a tag/value or SPDX file
|
static List<String> |
verifyRDFFile(String filePath)
Verify an RDF/XML file
|
static List<String> |
verifyTagFile(String filePath)
Verify a tag/value file
|
public static void main(String[] args)
args - Single argument SPDX file - can be tag/value or RDFpublic static List<String> verify(String filePath) throws SpdxVerificationException
filePath - File path to the SPDX file to be verifiedErrors - where the SPDX file can not be parsed or the filename is invalidSpdxVerificationExceptionpublic static List<String> verifyTagFile(String filePath) throws SpdxVerificationException
filePath - File path to the SPDX Tag Value file to be verifiedSpdxVerificationException - Errors where the SPDX Tag Value file can not be parsed or the filename is invalidpublic static List<String> verifyRDFFile(String filePath) throws SpdxVerificationException
filePath - File path to the SPDX RDF/XML file to be verifiedSpdxVerificationException - Errors where the SPDX RDF/XML file can not be parsed or the filename is invalidCopyright © 2018 Linux Foundation. All Rights Reserved.