Class GenerateVerificationCode
java.lang.Object
org.spdx.tools.GenerateVerificationCode
Generates a verification code for a specific directory
- Author:
- Gary O'Neall
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.spdx.library.model.v2.SpdxPackageVerificationCode
generateVerificationCode
(String directoryPath, String skippedRegex) static void
Print an SPDX Verification code for a directory of files args[0] is the source directory containing the files args[1] is an optional regular expression of skipped files.
-
Constructor Details
-
GenerateVerificationCode
public GenerateVerificationCode()
-
-
Method Details
-
main
Print an SPDX Verification code for a directory of files args[0] is the source directory containing the files args[1] is an optional regular expression of skipped files. The expression is applied against a file path relative the the source directory supplied- Parameters:
args
-
-
generateVerificationCode
public static org.spdx.library.model.v2.SpdxPackageVerificationCode generateVerificationCode(String directoryPath, @Nullable String skippedRegex) throws OnlineToolException - Throws:
OnlineToolException
-