@Immutable private final class FsFinalizeController.Nio2Output extends FsFinalizeController.Output
| Constructor and Description |
|---|
FsFinalizeController.Nio2Output(FsEntryName name,
BitField<FsOutputOption> options,
Entry template) |
| 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. |
newOutputStreamgetDelegate, toStringgetBoundSocket, getLocalTargetbind, getPeerTargetFsFinalizeController.Nio2Output(FsEntryName name, BitField<FsOutputOption> options, @CheckForNull Entry template)
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 failure.Copyright © 2005-2012 Schlichtherle IT Services. All Rights Reserved.