| Package | Description |
|---|---|
| org.spdx.compare |
| Modifier and Type | Method and Description |
|---|---|
List<LineColumn> |
CompareTemplateOutputHandler.DifferenceDescription.getDifferences() |
| Modifier and Type | Method and Description |
|---|---|
void |
CompareTemplateOutputHandler.DifferenceDescription.addDifference(LineColumn location,
String token,
String msg,
String text,
LicenseTemplateRule rule,
CompareTemplateOutputHandler.DifferenceDescription lastOptionalDifference) |
| Modifier and Type | Method and Description |
|---|---|
static String |
LicenseCompareHelper.locateOriginalText(String fullLicenseText,
int startToken,
int endToken,
Map<Integer,LineColumn> tokenToLocation,
String[] tokens)
Locate the original text starting with the start token and ending with the end token
|
void |
CompareTemplateOutputHandler.DifferenceDescription.setDifferences(List<LineColumn> differences) |
static String[] |
LicenseCompareHelper.tokenizeLicenseText(String licenseText,
Map<Integer,LineColumn> tokenToLocation)
Tokenizes the license text, normalizes quotes, lowercases and converts multi-words for better equiv.
|
| Constructor and Description |
|---|
DifferenceDescription(boolean differenceFound,
String differenceMessage,
List<LineColumn> differences) |
Copyright © 2018 Linux Foundation. All Rights Reserved.