@Immutable class IOCache.Buffer.BufferOutputSocket extends DecoratingOutputSocket<Entry>
| Constructor and Description |
|---|
IOCache.Buffer.BufferOutputSocket() |
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
newOutputStream()
Returns a new output stream for writing bytes to the
local target. |
getDelegate, toStringgetBoundSocket, getLocalTarget, getPeerTarget, newSeekableByteChannelbind, connectpublic final OutputStream newOutputStream() throws 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 DelegatingOutputSocket<Entry>IOException - on any I/O error.Copyright © 2004-2011 Schlichtherle IT Services. All Rights Reserved.