java.lang.Object
com.ibm.jvm.dtfjview.tools.utils.MatchHandle
- All Implemented Interfaces:
IMatchHandle
This class checks if a line contains some strings.
-
Constructor Summary
ConstructorsConstructorDescriptionMatchHandle(String[] matchStringList, boolean ignoreCase) MatchHandle(String[] matchStringList, boolean ignoreCase, boolean negated, boolean isFixedString) -
Method Summary
-
Constructor Details
-
MatchHandle
-
MatchHandle
public MatchHandle(String[] matchStringList, boolean ignoreCase, boolean negated, boolean isFixedString)
-
-
Method Details
-
matches
To check if the string is matched.- Specified by:
matchesin interfaceIMatchHandle- Parameters:
s- The string to be checked.- Returns:
trueif the string is matched;falseotherwise.
-
process
To process the string.- Specified by:
processin interfaceIMatchHandle- Parameters:
s- The string to be processed.- Returns:
- The processed string.
-