public class OASISLicense extends FullTextMatchingLicense
| Constructor and Description |
|---|
OASISLicense() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
match(Document subject,
String line)
Matches the text accumulated to licenses.
|
void |
reset()
Resets this matches.
|
hasFullText, setFullTextgetLicenseFamilyCategory, getLicenseFamilyName, getNotes, prune, reportOnLicense, setLicenseFamilyCategory, setLicenseFamilyName, setNotespublic boolean match(Document subject, 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 FullTextMatchingLicenseCopyright © 2006–2016 Apache Software Foundation. All rights reserved.