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.
    FilterTemplateOutputHandler
    Filter the template output to create a list of strings filtering out optional and/or var text
    LicenseCompareHelper
    Primarily a static class of helper functions for comparing two SPDX licenses
    LineColumn
    Holds information on lines and columns
    SpdxComparer
    Performs a comparison between two or more SPDX documents and holds the results of the comparison The main function to perform the comparison is compare(spdxdoc1, spdxdoc2) For files, the comparison results are separated into unique files based on the file names which can be obtained by the method getUniqueFiles(index1, index2).
    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 name
    SpdxItemComparer
    Compares two SPDX items.
    SpdxItemDifference
    Contains the results of a comparison between two SPDX items with the same name
    SpdxLicenseDifference
    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 different
    SpdxPackageComparer
    Compares two SPDX package.
    SpdxSnippetComparer
    Compares two SPDX snippets.
  • Exception Summary 
    Exception Description
    SpdxCompareException