All Classes
-
All Classes Interface Summary Class Summary Enum Summary Exception Summary Class Description CompareTemplateOutputHandler Compares the output of a parsed license template to text.Configuration The configuration class for the Spdx-Java-Library.DownloadCache This singleton class provides a flexible download cache for the rest of the library.ExceptionJson Simple POJO to hold the license exception data loaded from a JSON file Licenses in the JSON format can be found at spdx.org/licenses/[exceptionid].jsonExceptionJsonTOC Table of Contents for the listed license list as represented as a JSON index file at spdx.org/licenses/licenses.jsonExtendedSpdxStore A simple abstract SPDX store that stores everything in an underlying model store which is initialized in the constructor.ExternalMapInfo FilterTemplateOutputHandler Deprecated. TheTemplateRegexMatcher
class should be used in place of this class.FilterTemplateOutputHandler.OptionalTextHandling FilterTemplateOutputHandler.VarTextHandling IFileChecksumGenerator Interface for implementations of generators of file checksumsIListedLicenseStore InMemSpdxStore ISpdxConverter JavaSha1ChecksumGenerator Java sha1 checksum generator using MessageDigestLicenseCompareHelper Primarily a static class of helper functions for comparing two SPDX licensesLicenseCreationInfo LicenseCreatorAgent LicenseExpressionParser A parser for the SPDX License Expressions as documented in the SPDX appendix.LicenseInfoFactory Factory for creating SPDXLicenseInfo objects from a Jena modelLicenseJson Simple POJO to hold the license data loaded from a JSON file Licenses in the JSON format can be found at spdx.org/licenses/[licenseid].jsonLicenseJsonTOC Table of Contents for the listed license list as represented as a JSON index file at spdx.org/licenses/licenses.jsonLicenseJsonTOC.LicenseJson LicenseParserException ListedLicenses Singleton class which holds the listed licensesModelCopyManager This class helps facilitate copying objects from one model to another.Spdx2to3Converter SpdxCompareException SpdxComparer Performs a comparison between two or more SPDX documents and holds the results of the comparison The main function to perform the comparison iscompare(spdxdoc1, spdxdoc2)
For files, the comparison results are separated into unique files based on the file names which can be obtained by the methodgetUniqueFiles(index1, index2)
.SpdxConversionException SpdxExternalRefDifference Contains information on differences between two different External Refs.SpdxFileComparer Compares two SPDX files.SpdxFileDifference Contains the results of a comparison between two SPDX files with the same nameSpdxItemComparer Compares two SPDX items.SpdxItemDifference Contains the results of a comparison between two SPDX items with the same nameSpdxLicenseDifference Contains the results of a comparison between two SPDX non-standard licenses where the license text is equivalent and the license comment, license ID, or other fields are differentSpdxListedLicenseLocalStore SpdxListedLicenseModelStore Read-only model store for the SPDX listed licenses License and exception ID's can be case insensitive License information is stored in a LicenseJson file with the ID being Listed License ID License Exception information is stored in an ExceptionJson file with the ID being the Listed Exception ID CrossRef information is stored within the LicenseJson file.SpdxListedLicenseWebStore SpdxModelFactory Main entrypoint for the SPDX Java Library This is a static class used to manage the different versions of the SPDX spec by creating different model classes based on the version of the spec.SpdxPackageComparer Compares two SPDX package.SpdxSnippetComparer Compares two SPDX snippets.SpdxV2ListedLicenseModelStore SpdxV3ListedLicenseModelStore StoredTypedItem Individual item to be stored in memoryTemplateRegexMatcher Constructs a regular expression from a license or exception template and provide a matching method to see if code matching the template exists within the text provided Note that the regular expression assumes a fully normalized text string to matchisTemplateMatchWithinText(String text)
will return true if the text text matches the templategetQuickMatchRegex()
will return a regular expression with limited backtracking which can be used for a quick searchgetCompleteRegex()
will return a regular expression for the entire license wheregetStartRegex(int wordLimit)
will return a regular expression to match the beginning of a license andgetEndRegex(int wordLimit)
will return a regular expression to match the end of a licenseVerificationCodeGenerator Generates a package verification code from a directory of source code or an array ofSPDXFile
s.