OutputStreams.tee(OutputStream...) instead.@Deprecated public class TeeOutputStream extends OutputStream
OutputStream which writes the data written to it to two delegate OutputStreams.| Constructor and Description |
|---|
TeeOutputStream(OutputStream left,
OutputStream right)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Deprecated.
|
void |
flush()
Deprecated.
|
void |
write(byte[] b)
Deprecated.
|
void |
write(byte[] b,
int off,
int len)
Deprecated.
|
void |
write(int b)
Deprecated.
|
public TeeOutputStream(OutputStream left, OutputStream right)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOExceptionpublic void write(byte[] b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionpublic void write(int b)
throws IOException
write in class OutputStreamIOExceptionCopyright © 2018 Arno Unkrig. All rights reserved.