@Immutable private class IOCache.Buffer.BufferOutputSocket extends DecoratingOutputSocket<Entry>
| Constructor and Description |
|---|
IOCache.Buffer.BufferOutputSocket() |
| Modifier and Type | Method and Description |
|---|---|
java.io.OutputStream |
newOutputStream()
Returns a new output stream for writing bytes to the
local target. |
getBoundSocket, getLocalTarget, getPeerTarget, newSeekableByteChannel, toStringbind, connectpublic final java.io.OutputStream newOutputStream()
throws java.io.IOException
OutputSocketlocal target.
Implementations must enable calling this method any number of times.
Furthermore, the returned output stream should not be buffered.
Buffering should be addressed by the caller instead - see
IOSocket.copy(de.schlichtherle.truezip.socket.InputSocket<?>, de.schlichtherle.truezip.socket.OutputSocket<?>).
newOutputStream in class DecoratingOutputSocket<Entry>java.io.IOException - on any I/O error.Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.