public class TeeOutputStream extends OutputStream
| Constructor and Description |
|---|
TeeOutputStream(OutputStream chainedStream,
OutputStream teeStream)
Creates a new instance of TeeOutputStream
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
void |
write(int b) |
write, writepublic TeeOutputStream(OutputStream chainedStream, OutputStream teeStream)
public void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOExceptionCopyright © 2005–2018 Oracle Corporation. All rights reserved.