private final class FsResourceController.Nio2Output extends FsResourceController.Output
| Constructor and Description |
|---|
FsResourceController.Nio2Output(OutputSocket<?> output) |
| Modifier and Type | Method and Description |
|---|---|
SeekableByteChannel |
newSeekableByteChannel()
Optional: Returns a new seekable byte channel for writing bytes
to the
local target in arbitrary order. |
getLocalTarget, getPeerTarget, newOutputStreamgetDelegate, toStringgetBoundSocketbindFsResourceController.Nio2Output(OutputSocket<?> output)
public SeekableByteChannel newSeekableByteChannel() throws IOException
OutputSocketlocal target in arbitrary order.
If this method is supported, implementations must enable calling it any number of times. Furthermore, the returned seekable byte channel should not be buffered. Buffering should be addressed by client applications instead.
newSeekableByteChannel in class DelegatingOutputSocket<Entry>IOException - on any I/O error.Copyright © 2004-2011 Schlichtherle IT Services. All Rights Reserved.