|
||||||||||
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.W3CLicense
public class W3CLicense
Constructor Summary | |
---|---|
W3CLicense()
|
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 |
Constructor Detail |
---|
public W3CLicense()
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 |