public final class UninterruptibleOutputStream extends OutputStream
| Constructor and Description |
|---|
UninterruptibleOutputStream(OutputStream out)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the stream uninterruptibly.
|
void |
flush()
Flush the stream uninterruptibly.
|
String |
toString()
Get the string representation of this stream.
|
void |
write(byte[] b,
int off,
int len)
Write the given bytes uninterruptibly.
|
void |
write(int b)
Write the given byte uninterruptibly.
|
writepublic UninterruptibleOutputStream(OutputStream out)
out - the delegate streampublic void write(int b)
throws IOException
write in class OutputStreamb - the byte to writeIOException - if an error occurspublic void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamb - the bytes to writeoff - the offset into the arraylen - the length of the array to writeIOException - if an error occurspublic void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOException - if an error occurspublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOException - if an error occursCopyright © 2017 JBoss by Red Hat. All rights reserved.