@NotThreadSafe public abstract class DisconnectingOutputStream extends DecoratingOutputStream
DisconnectingInputStream
out
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, write
protected 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 Closeable
close
in interface AutoCloseable
close
in class DecoratingOutputStream
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class DecoratingOutputStream
IOException
public abstract boolean isOpen()
public void write(byte[] b, int off, int len) throws IOException
write
in class DecoratingOutputStream
IOException
public void write(int b) throws IOException
write
in class DecoratingOutputStream
IOException
Copyright © 2012–2014 Schlichtherle IT Services. All rights reserved.