@NotThreadSafe public abstract class DisconnectingOutputStream extends DecoratingOutputStream
DisconnectingInputStreamout| Modifier | Constructor and Description |
|---|---|
protected |
DisconnectingOutputStream() |
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()
protected DisconnectingOutputStream(OutputStream out)
protected final void checkOpen()
throws ClosedOutputException
ClosedOutputException - 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 © 2012–2014 Schlichtherle IT Services. All rights reserved.