public class FullTextLicenseMatcher extends FullTextMatchingLicense
FullTextMatchingLicense
to Ant's method naming conventions so it becomes easy to write
text matching based license matchers inside an Ant build file.| Constructor and Description |
|---|
FullTextLicenseMatcher() |
| Modifier and Type | Method and Description |
|---|---|
void |
addText(String text) |
boolean |
match(Document subject,
String line)
Matches the text accumulated to licenses.
|
void |
setProject(org.apache.tools.ant.Project project) |
hasFullText, reset, setFullTextgetLicenseFamilyCategory, getLicenseFamilyName, getNotes, prune, reportOnLicense, setLicenseFamilyCategory, setLicenseFamilyName, setNotespublic void setProject(org.apache.tools.ant.Project project)
public void addText(String text)
public 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.Copyright © 2006–2025 Apache Software Foundation. All rights reserved.