java.lang.Object
com.ibm.jvm.dtfjview.tools.utils.MaxLinesPrematchHandle
- All Implemented Interfaces:
IPrematchHandle
This class first caches up to a specified number of lines before the matching is found.
The lines will be released whenever it is asked to do so.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MaxLinesPrematchHandle
public MaxLinesPrematchHandle(int maxPrematchLines)
-
-
Method Details
-
process
Description copied from interface:IPrematchHandle
This is for the prematch handle to process the incoming string (such as cache it, trim it, etc).- Specified by:
process
in interfaceIPrematchHandle
-
release
Description copied from interface:IPrematchHandle
This is to release the string. Note, depending on the actual implementation of the pre-match handle, the released string can have multiple lines.- Specified by:
release
in interfaceIPrematchHandle
- Returns:
- a String object.
-