Class MaxLinesPostmatchHandle

java.lang.Object
com.ibm.jvm.dtfjview.tools.utils.MaxLinesPostmatchHandle
All Implemented Interfaces:
IPostmatchHandle

public class MaxLinesPostmatchHandle extends Object implements 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 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 interface IPostmatchHandle
    • process

      public String process(String s)
      Description copied from interface: IPostmatchHandle
      This is for the post match handle to perform actions on the string

      Specified by:
      process in interface IPostmatchHandle
      Parameters:
      s - The string to be processed.

      Returns:
      The processed string.