Class TeeOutputStream
java.lang.Object
java.io.OutputStream
com.sun.xml.ws.security.opt.impl.util.TeeOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
- Author:
- Ashutosh.Shahi@sun.com
-
Constructor Summary
ConstructorsConstructorDescriptionTeeOutputStream(OutputStream chainedStream, OutputStream teeStream) Creates a new instance of TeeOutputStream -
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream, write, write
-
Constructor Details
-
TeeOutputStream
Creates a new instance of TeeOutputStream
-
-
Method Details
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-