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
ConstructorDescriptionMatchHandle
(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:
matches
in interfaceIMatchHandle
- Parameters:
s
- The string to be checked.- Returns:
true
if the string is matched;false
otherwise.
-
process
To process the string.- Specified by:
process
in interfaceIMatchHandle
- Parameters:
s
- The string to be processed.- Returns:
- The processed string.
-