Class StringModifier

java.lang.Object
com.ibm.jvm.dtfjview.tools.utils.StringModifier
All Implemented Interfaces:
IStringModifier

public class StringModifier extends Object implements IStringModifier
This class is to be used together with pre-match handler, match handler and post-match handler. It receives strings from the OutputStreamModifier and delegates them to the above handlers according to the matching status.

  • Constructor Details

  • Method Details

    • modify

      public String modify(String s)
      Description copied from interface: IStringModifier
      This method is to be called by an OutputStreamModifier object before the string is sent to the OutputStream.

      Specified by:
      modify in interface IStringModifier
      Parameters:
      s - The string to be modified.

      Returns:
      Return a modified string.