Package zombie.core
Class ProxyPrintStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
java.io.PrintStream
zombie.core.ProxyPrintStream
- All Implemented Interfaces:
java.io.Closeable
,java.io.Flushable
,java.lang.Appendable
,java.lang.AutoCloseable
public class ProxyPrintStream
extends java.io.PrintStream
-
Field Summary
Fields inherited from class java.io.FilterOutputStream
out
-
Constructor Summary
Constructors Constructor Description ProxyPrintStream(java.io.PrintStream system, java.io.PrintStream file)
-
Method Summary
Methods inherited from class java.io.PrintStream
append, append, append, checkError, clearError, close, flush, format, format, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, setError, write, write, writeBytes
Methods inherited from class java.io.OutputStream
nullOutputStream
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ProxyPrintStream
public ProxyPrintStream(java.io.PrintStream system, java.io.PrintStream file)
-
-
Method Details
-
print
public void print(java.lang.String str)- Overrides:
print
in classjava.io.PrintStream
-
println
public void println(java.lang.String str)- Overrides:
println
in classjava.io.PrintStream
-
println
public void println(java.lang.Object o)- Overrides:
println
in classjava.io.PrintStream
-
write
public void write(byte[] buf, int off, int len)- Overrides:
write
in classjava.io.PrintStream
-