Class MaxLinesPostmatchHandle
java.lang.Object
com.ibm.jvm.dtfjview.tools.utils.MaxLinesPostmatchHandle
- All Implemented Interfaces:
IPostmatchHandle
This class caches up to a specified number of lines before a matching is found.
It will release the lines whenever it is asked to do so.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This is for the post match handle to perform actions when a match was just found (by a match handle).This is for the post match handle to perform actions on the string
-
Constructor Details
-
MaxLinesPostmatchHandle
public MaxLinesPostmatchHandle(int maxPostmatchLineNum)
-
-
Method Details
-
justMatched
public void justMatched()Description copied from interface:IPostmatchHandle
This is for the post match handle to perform actions when a match was just found (by a match handle).- Specified by:
justMatched
in interfaceIPostmatchHandle
-
process
Description copied from interface:IPostmatchHandle
This is for the post match handle to perform actions on the string- Specified by:
process
in interfaceIPostmatchHandle
- Parameters:
s
- The string to be processed.- Returns:
- The processed string.
-