rat.analysis.license
Class W3CDocLicense
java.lang.Object
rat.analysis.license.BaseLicense
rat.analysis.license.W3CDocLicense
- All Implemented Interfaces:
- IHeaderMatcher
public class W3CDocLicense
- extends BaseLicense
- implements IHeaderMatcher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
W3CDocLicense
public W3CDocLicense()
match
public boolean match(String subject,
String line,
IClaimReporter reporter)
throws RatHeaderAnalysisException
- Description copied from interface:
IHeaderMatcher
- Matches the text accumulated to licenses.
TODO probably a poor design choice - hope to fix later
- Specified by:
match
in interface IHeaderMatcher
- Parameters:
subject
- TODOline
- next line of text, not nullreporter
- TODO
- Returns:
- TODO
- Throws:
RatHeaderAnalysisException
reset
public void reset()
- Description copied from interface:
IHeaderMatcher
- Resets this matches.
Subsequent calls to
IHeaderMatcher.match(java.lang.String, java.lang.String, rat.report.claim.IClaimReporter)
will accumulate new text.
- Specified by:
reset
in interface IHeaderMatcher
Copyright © 2006-2011. All Rights Reserved.