Package org.spdx.utility.compare
Utility classes for comparing SPDX model objects
- Author:
- Gary O'Neall
-
Class Summary Class Description CompareTemplateOutputHandler Compares the output of a parsed license template to text.CompareTemplateOutputHandler.DifferenceDescription Information obout any difference foundFilterTemplateOutputHandler Deprecated. TheTemplateRegexMatcher
class should be used in place of this class.LicenseCompareHelper Primarily a static class of helper functions for comparing two SPDX licensesSpdxComparer Performs a comparison between two or more SPDX documents and holds the results of the comparisonSpdxExternalRefDifference Contains information on differences between two different External Refs.SpdxFileComparer Compares two SPDX filesSpdxFileDifference Contains the results of a comparison between two SPDX files with the same nameSpdxItemComparer Compares two SPDX itemsSpdxItemDifference 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 licensesSpdxPackageComparer Compares two SPDX package.SpdxSnippetComparer Compares two SPDX snippetsTemplateRegexMatcher 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 -
Enum Summary Enum Description FilterTemplateOutputHandler.OptionalTextHandling FilterTemplateOutputHandler.VarTextHandling -
Exception Summary Exception Description SpdxCompareException Exception thrown when there is an error during the comparison of SPDX documents