Package org.spdx.tools
Class GenerateVerificationCode
java.lang.Object
org.spdx.tools.GenerateVerificationCode
public class GenerateVerificationCode extends Object
Generates a verification code for a specific directory
- Author:
- Gary O'Neall
-
Constructor Summary
Constructors Constructor Description GenerateVerificationCode()
-
Method Summary
Modifier and Type Method Description static org.spdx.library.model.SpdxPackageVerificationCode
generateVerificationCode(String directoryPath, String skippedRegex)
static void
main(String[] args)
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.SpdxPackageVerificationCode generateVerificationCode(String directoryPath, @Nullable String skippedRegex) throws OnlineToolException- Throws:
OnlineToolException
-