|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.rat.analysis.license.SimplePatternBasedLicense
org.apache.rat.anttasks.SubstringLicenseMatcher
public class SubstringLicenseMatcher
Adapts SimplePatternBasedLicense
to Ant's method naming conventions so it becomes easy to write
substring based license matchers inside an Ant build file.
Nested Class Summary | |
---|---|
static class |
SubstringLicenseMatcher.Pattern
A simple wrapper around a substring. |
Constructor Summary | |
---|---|
SubstringLicenseMatcher()
|
Method Summary | |
---|---|
void |
addConfiguredPattern(SubstringLicenseMatcher.Pattern p)
|
java.lang.String[] |
getPatterns()
|
Methods inherited from class org.apache.rat.analysis.license.SimplePatternBasedLicense |
---|
getLicenseFamilyCategory, getLicenseFamilyName, getNotes, match, matches, reportOnLicense, reset, setLicenseFamilyCategory, setLicenseFamilyName, setNotes, setPatterns |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SubstringLicenseMatcher()
Method Detail |
---|
public void addConfiguredPattern(SubstringLicenseMatcher.Pattern p)
public java.lang.String[] getPatterns()
getPatterns
in class SimplePatternBasedLicense
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |