org.apache.rat.anttasks
Class SubstringLicenseMatcher
java.lang.Object
org.apache.rat.analysis.license.BaseLicense
org.apache.rat.analysis.license.SimplePatternBasedLicense
org.apache.rat.anttasks.SubstringLicenseMatcher
- All Implemented Interfaces:
- IHeaderMatcher
public class SubstringLicenseMatcher
- extends SimplePatternBasedLicense
Adapts SimplePatternBasedLicense
to Ant's method naming conventions so it becomes easy to write
substring based license matchers inside an Ant build file.
- Since:
- Rat Antlib 0.8
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubstringLicenseMatcher
public SubstringLicenseMatcher()
addConfiguredPattern
public void addConfiguredPattern(SubstringLicenseMatcher.Pattern p)
getPatterns
public String[] getPatterns()
- Overrides:
getPatterns
in class SimplePatternBasedLicense
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.