org.apache.rat.anttasks
Class FullTextLicenseMatcher
java.lang.Object
org.apache.rat.analysis.license.BaseLicense
org.apache.rat.analysis.license.FullTextMatchingLicense
org.apache.rat.anttasks.FullTextLicenseMatcher
- All Implemented Interfaces:
- IHeaderMatcher
public class FullTextLicenseMatcher
- extends FullTextMatchingLicense
Adapts FullTextMatchingLicense
to Ant's method naming conventions so it becomes easy to write
text matching based license matchers inside an Ant build file.
- Since:
- Rat Antlib 0.9
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FullTextLicenseMatcher
public FullTextLicenseMatcher()
setProject
public void setProject(org.apache.tools.ant.Project project)
addText
public void addText(String text)
match
public boolean match(Document subject,
String line)
throws RatHeaderAnalysisException
- Specified by:
match
in interface IHeaderMatcher
- Overrides:
match
in class FullTextMatchingLicense
- Throws:
RatHeaderAnalysisException
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.