public final class HeaderMatcherMultiplexer extends Object implements IHeaderMatcher
Constructor and Description |
---|
HeaderMatcherMultiplexer(IHeaderMatcher[] matchers) |
Modifier and Type | Method and Description |
---|---|
boolean |
match(Document subject,
String line)
Matches the text accumulated to licenses.
|
void |
reset()
Resets this matches.
|
public HeaderMatcherMultiplexer(IHeaderMatcher[] matchers)
public boolean match(Document subject, String line) throws RatHeaderAnalysisException
IHeaderMatcher
match
in interface IHeaderMatcher
subject
- TODOline
- next line of text, not nullRatHeaderAnalysisException
public void reset()
IHeaderMatcher
IHeaderMatcher.match(org.apache.rat.api.Document, java.lang.String)
will accumulate new text.reset
in interface IHeaderMatcher
Copyright © 2006–2016 Apache Software Foundation. All rights reserved.