public interface IHeaderMatcher
Modifier and Type | Method and Description |
---|---|
boolean |
match(Document subject,
String line)
Matches the text accumulated to licenses.
|
void |
reset()
Resets this matches.
|
void reset()
match(org.apache.rat.api.Document, java.lang.String)
will accumulate new text.boolean match(Document subject, String line) throws RatHeaderAnalysisException
subject
- current document.line
- next line of text, not nullRatHeaderAnalysisException
- in case of internal RAT errors.Copyright © 2006–2018 Apache Software Foundation. All rights reserved.