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, matchesMethods inherited from class org.apache.rat.analysis.matchers.AbstractHeaderMatcher
getId, toString
-
Method Details
-
doMatch
Description copied from class:AbstractSimpleMatcherPerforms the actual match test.- Specified by:
doMatchin classAbstractSimpleMatcher- Parameters:
line- the line to check.- Returns:
trueif the line matches,falseotherwise.
-
reset
public void reset()Description copied from interface:IHeaderMatcherResets this stateState.i. If text is being cached this method should clear that cache.- Specified by:
resetin interfaceIHeaderMatcher- Overrides:
resetin classAbstractSimpleMatcher
-