public class MirrorOutputStream extends OutputStream
| Constructor and Description |
|---|
MirrorOutputStream(OutputStream... strams)
Create a new mirroring output stream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
void |
write(byte[] ba) |
void |
write(byte[] ba,
int off,
int len) |
void |
write(int b) |
public MirrorOutputStream(OutputStream... strams)
strams - The output streams to mirror to.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[] ba)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] ba,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionpublic void write(int b)
throws IOException
write in class OutputStreamIOExceptionCopyright © 2020. All rights reserved.