org.apache.rat.analysis
Class MockLicenseMatcher

java.lang.Object
  extended by org.apache.rat.analysis.MockLicenseMatcher
All Implemented Interfaces:
org.apache.rat.analysis.IHeaderMatcher

public class MockLicenseMatcher
extends java.lang.Object
implements org.apache.rat.analysis.IHeaderMatcher


Field Summary
 java.util.List lines
           
 int resets
           
 boolean result
           
 
Constructor Summary
MockLicenseMatcher()
           
 
Method Summary
 boolean match(org.apache.rat.api.Document subject, java.lang.String line)
           
 void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lines

public final java.util.List lines

resets

public int resets

result

public boolean result
Constructor Detail

MockLicenseMatcher

public MockLicenseMatcher()
Method Detail

match

public boolean match(org.apache.rat.api.Document subject,
                     java.lang.String line)
Specified by:
match in interface org.apache.rat.analysis.IHeaderMatcher

reset

public void reset()
Specified by:
reset in interface org.apache.rat.analysis.IHeaderMatcher


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