|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.rat.analysis.license.BaseLicense
org.apache.rat.analysis.license.ApacheSoftwareLicense20
public final class ApacheSoftwareLicense20
Matches Apache Software License, Version 2.0
Field Summary | |
---|---|
static java.lang.String |
FIRST_LICENSE_LINE
|
static java.lang.String |
LICENSE_REFERENCE_LINE
|
Constructor Summary | |
---|---|
ApacheSoftwareLicense20()
|
Method Summary | |
---|---|
boolean |
match(Document subject,
java.lang.String line)
Matches the text accumulated to licenses. |
void |
reset()
Resets this matches. |
Methods inherited from class org.apache.rat.analysis.license.BaseLicense |
---|
reportOnLicense |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String FIRST_LICENSE_LINE
public static final java.lang.String LICENSE_REFERENCE_LINE
Constructor Detail |
---|
public ApacheSoftwareLicense20()
Method Detail |
---|
public boolean match(Document subject, java.lang.String line) throws RatHeaderAnalysisException
IHeaderMatcher
match
in interface IHeaderMatcher
subject
- TODOline
- next line of text, not null
RatHeaderAnalysisException
public void reset()
IHeaderMatcher
IHeaderMatcher.match(org.apache.rat.api.Document, java.lang.String)
will accumulate new text.
reset
in interface IHeaderMatcher
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |