public class OASISLicense extends FullTextMatchingLicense
| Modifier and Type | Field and Description |
|---|---|
private static java.lang.String |
CLAUSE_DEFN |
private static java.util.regex.Pattern |
COPYRIGHT_PATTERN |
private static java.lang.String |
COPYRIGHT_PATTERN_DEFN |
(package private) boolean |
copyrightMatch |
| Constructor and Description |
|---|
OASISLicense() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
match(Document subject,
java.lang.String line)
Matches the text accumulated to licenses.
|
void |
reset()
Resets this matches.
|
hasFullText, setFullTextgetLicenseFamilyCategory, getLicenseFamilyName, getNotes, prune, reportOnLicense, setLicenseFamilyCategory, setLicenseFamilyName, setNotesprivate static final java.lang.String COPYRIGHT_PATTERN_DEFN
private static final java.lang.String CLAUSE_DEFN
private static final java.util.regex.Pattern COPYRIGHT_PATTERN
boolean copyrightMatch
public boolean match(Document subject, java.lang.String line) throws RatHeaderAnalysisException
IHeaderMatchermatch in interface IHeaderMatchermatch in class FullTextMatchingLicensesubject - current document.line - next line of text, not nullRatHeaderAnalysisException - in case of internal RAT errors.public void reset()
IHeaderMatcherIHeaderMatcher.match(org.apache.rat.api.Document, java.lang.String) will accumulate new text.reset in interface IHeaderMatcherreset in class FullTextMatchingLicense