Closeable, Flushable, AutoCloseablepublic final class UninterruptibleOutputStream extends OutputStream
| Constructor | Description |
|---|---|
UninterruptibleOutputStream(OutputStream out) |
Construct a new instance.
|
| Modifier and Type | Method | 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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitwritepublic 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 AutoCloseableclose in interface Closeableclose in class OutputStreamIOException - if an error occursCopyright © 2019 JBoss by Red Hat. All rights reserved.