@NotThreadSafe public abstract class DisconnectingOutputStream extends DecoratingOutputStream
DisconnectingInputStreamdelegate| Modifier | Constructor and Description |
|---|---|
protected |
DisconnectingOutputStream(OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkOpen()
|
abstract void |
close() |
void |
flush() |
abstract boolean |
isOpen() |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
toString, writeprotected DisconnectingOutputStream(@Nullable OutputStream out)
protected final void checkOpen()
throws OutputClosedException
OutputClosedException - iff isOpen() returns false.public abstract void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class DecoratingOutputStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class DecoratingOutputStreamIOExceptionpublic abstract boolean isOpen()
public void write(byte[] b,
int off,
int len)
throws IOException
write in class DecoratingOutputStreamIOExceptionpublic void write(int b)
throws IOException
write in class DecoratingOutputStreamIOExceptionCopyright © 2005-2013 Schlichtherle IT Services. All Rights Reserved.