Class TeeStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
java.io.PrintStream
de.ipk_gatersleben.ag_nw.graffiti.plugins.ios.kgml.TeeStream
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
public class TeeStream extends PrintStream
-
Constructor Summary
Constructors Constructor Description TeeStream(PrintStream out1, PrintStream out2)
-
Method Summary
Methods inherited from class java.io.PrintStream
append, append, append, checkError, close, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, println, write, write, writeBytes
Methods inherited from class java.io.OutputStream
nullOutputStream
-
Constructor Details
-
TeeStream
-
-
Method Details
-
write
public void write(byte[] buf, int off, int len)- Overrides:
write
in classPrintStream
-
flush
public void flush()- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classPrintStream
-