public class JavaDocLicenseNotRequired extends java.lang.Object implements IHeaderMatcher
| Modifier and Type | Field and Description |
|---|---|
private static java.lang.String |
JAVADOC_REGEX_DEFN |
| Constructor and Description |
|---|
JavaDocLicenseNotRequired() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
match(Document subject,
java.lang.String line)
Matches the text accumulated to licenses.
|
private void |
reportOnLicense(Document subject) |
void |
reset()
Resets this matches.
|
private static final java.lang.String JAVADOC_REGEX_DEFN
public boolean match(Document subject, java.lang.String line) throws RatHeaderAnalysisException
IHeaderMatchermatch in interface IHeaderMatchersubject - current document.line - next line of text, not nullRatHeaderAnalysisException - in case of internal RAT errors.private void reportOnLicense(Document subject)
public void reset()
IHeaderMatcherIHeaderMatcher.match(org.apache.rat.api.Document, java.lang.String) will accumulate new text.reset in interface IHeaderMatcher