public class OutputStreamWrapper extends OutputStream
| Constructor and Description |
|---|
OutputStreamWrapper(OutputStream stream) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
void |
write(byte[] value) |
void |
write(byte[] value,
int off,
int len) |
void |
write(int value) |
public OutputStreamWrapper(OutputStream stream)
public void write(int value)
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 OutputStreamIOExceptionpublic void write(byte[] value)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] value,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionCopyright © 2005–2018 Oracle Corporation. All rights reserved.