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, reportOnLicense
public static final String FIRST_LICENSE_LINE
public static final String LICENSE_REFERENCE_LINE
public boolean match(String subject, String line, IClaimReporter reporter) throws RatHeaderAnalysisException
IHeaderMatcher
match
in interface IHeaderMatcher
subject
- TODOline
- next line of text, not nullreporter
- TODORatHeaderAnalysisException
public void reset()
IHeaderMatcher
IHeaderMatcher.match(java.lang.String, java.lang.String, rat.report.claim.IClaimReporter)
will accumulate new text.reset
in interface IHeaderMatcher
Copyright © 2006–2013. All rights reserved.