@Immutable private class FsResourceController.Output extends DecoratingOutputSocket<Entry>
| Constructor and Description |
|---|
FsResourceController.Output(FsEntryName name,
BitField<FsOutputOption> options,
Entry template) |
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
newOutputStream()
Returns a new output stream for writing bytes to the
local target. |
getDelegate, toStringgetBoundSocket, getLocalTarget, newSeekableByteChannelbind, getPeerTargetFsResourceController.Output(FsEntryName name, BitField<FsOutputOption> options, @CheckForNull Entry template)
public 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 failure.Copyright © 2005-2012 Schlichtherle IT Services. All Rights Reserved.