static class AbstractSession.CloseResourceOutputStream extends FilterOutputStream
Modifier and Type | Field and Description |
---|---|
private Closeable |
resource |
out
Constructor and Description |
---|
CloseResourceOutputStream(OutputStream parent,
Closeable resource) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
flush, write, write, write
private final Closeable resource
CloseResourceOutputStream(OutputStream parent, Closeable resource)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class FilterOutputStream
IOException