Package org.apache.rat.analysis.matchers
Class SPDXMatcherFactory.Match
java.lang.Object
org.apache.rat.analysis.matchers.AbstractHeaderMatcher
org.apache.rat.analysis.matchers.AbstractSimpleMatcher
org.apache.rat.analysis.matchers.SPDXMatcherFactory.Match
- All Implemented Interfaces:
IHeaderMatcher
- Enclosing class:
- SPDXMatcherFactory
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.rat.analysis.IHeaderMatcher
IHeaderMatcher.Builder, IHeaderMatcher.State
-
Method Summary
Methods inherited from class org.apache.rat.analysis.matchers.AbstractSimpleMatcher
currentState, finalizeState, matches
Methods inherited from class org.apache.rat.analysis.matchers.AbstractHeaderMatcher
getId, toString
-
Method Details
-
doMatch
Description copied from class:AbstractSimpleMatcher
Performs the actual match test.- Specified by:
doMatch
in classAbstractSimpleMatcher
- Parameters:
line
- the line to check.- Returns:
true
if the line matches,false
otherwise.
-
reset
public void reset()Description copied from interface:IHeaderMatcher
Resets this stateState.i
. If text is being cached this method should clear that cache.- Specified by:
reset
in interfaceIHeaderMatcher
- Overrides:
reset
in classAbstractSimpleMatcher
-