Package org.svetovid.io
Class StandardErrorStreamProxy
java.lang.Object
java.io.OutputStream
org.svetovid.io.StandardErrorStreamProxy
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
Instances of this class serve as proxies for the currently set-up "standard"'
error output stream (see
System.err). If the "standard" error output
stream changes (through System.setErr(java.io.PrintStream)) instances
of this class will forward the output to the new stream.
All instances of this class are considered equal.
- Author:
- Ivan Pribela
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream
-
Constructor Details
-
StandardErrorStreamProxy
public StandardErrorStreamProxy()
-
-
Method Details
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-
toString
-
hashCode
public int hashCode() -
equals
-