org.apache.rat.analysis.license
Class TMF854LicenseHeader

java.lang.Object
  extended by org.apache.rat.analysis.license.BaseLicense
      extended by org.apache.rat.analysis.license.TMF854LicenseHeader
All Implemented Interfaces:
IHeaderMatcher

public class TMF854LicenseHeader
extends BaseLicense
implements IHeaderMatcher


Constructor Summary
TMF854LicenseHeader()
           
 
Method Summary
 boolean match(Document subject, String line)
          Matches the text accumulated to licenses.
 void reset()
          Resets this matches.
 
Methods inherited from class org.apache.rat.analysis.license.BaseLicense
reportOnLicense
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TMF854LicenseHeader

public TMF854LicenseHeader()
Method Detail

reset

public void reset()
Description copied from interface: IHeaderMatcher
Resets this matches. Subsequent calls to IHeaderMatcher.match(org.apache.rat.api.Document, java.lang.String) will accumulate new text.

Specified by:
reset in interface IHeaderMatcher

match

public boolean match(Document subject,
                     String line)
              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 - TODO
line - next line of text, not null
Returns:
TODO
Throws:
RatHeaderAnalysisException


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.