- java.lang.Object
-
- java.io.OutputStream
-
- com.ibm.jvm.dtfjview.tools.utils.OutputStreamModifier
-
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
public class OutputStreamModifier extends OutputStream
This class works with the class OutputStream and class IStringModifier. It first caches the bytes from the OutputStream. If a new line char is encountered or if the output stream is closed, it will ask the string modifier to modify it first before it sends the line to the output stream.
-
-
Constructor Summary
Constructors Constructor Description OutputStreamModifier(OutputStream out, IStringModifier modifier)
-
-
-
Constructor Detail
-
OutputStreamModifier
public OutputStreamModifier(OutputStream out, IStringModifier modifier)
-
-