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
-
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream
-
Constructor Details
-
StandardErrorStreamProxy
public StandardErrorStreamProxy()
-
-
Method Details
-
write
- Specified by:
write
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classOutputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStream
- Throws:
IOException
-
toString
-
hashCode
public int hashCode() -
equals
-