public final class ApacheSoftwareLicense20 extends BaseLicense implements IHeaderMatcher
| Modifier and Type | Field and Description |
|---|---|
static String |
FIRST_LICENSE_LINE |
static String |
LICENSE_REFERENCE_LINE |
| Constructor and Description |
|---|
ApacheSoftwareLicense20() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
match(String subject,
String line,
IClaimReporter reporter)
Matches the text accumulated to licenses.
|
void |
reset()
Resets this matches.
|
getCode, getName, getNotes, reportOnLicensepublic static final String FIRST_LICENSE_LINE
public static final String LICENSE_REFERENCE_LINE
public boolean match(String subject, String line, IClaimReporter reporter) throws RatHeaderAnalysisException
IHeaderMatchermatch in interface IHeaderMatchersubject - TODOline - next line of text, not nullreporter - TODORatHeaderAnalysisExceptionpublic void reset()
IHeaderMatcherIHeaderMatcher.match(java.lang.String, java.lang.String, rat.report.claim.IClaimReporter) will accumulate new text.reset in interface IHeaderMatcherCopyright © 2006-2013. All Rights Reserved.