Class StringModifier
java.lang.Object
com.ibm.jvm.dtfjview.tools.utils.StringModifier
- All Implemented Interfaces:
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 Summary
ConstructorDescriptionStringModifier
(IPrematchHandle prematchHandle, IMatchHandle matchHandle, IPostmatchHandle postmatchHandle) -
Method Summary
-
Constructor Details
-
StringModifier
public StringModifier(IPrematchHandle prematchHandle, IMatchHandle matchHandle, IPostmatchHandle postmatchHandle)
-
-
Method Details
-
modify
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 interfaceIStringModifier
- Parameters:
s
- The string to be modified.- Returns:
- Return a modified string.
-