Package com.sshtools.vfs2nio
Class FileChannelFromSeekableByteChannelImpl
java.lang.Object
java.nio.channels.spi.AbstractInterruptibleChannel
java.nio.channels.FileChannel
com.sshtools.vfs2nio.FileChannelFromSeekableByteChannelBase
com.sshtools.vfs2nio.FileChannelFromSeekableByteChannelImpl
- All Implemented Interfaces:
Closeable,AutoCloseable,ByteChannel,Channel,GatheringByteChannel,InterruptibleChannel,ReadableByteChannel,ScatteringByteChannel,SeekableByteChannel,WritableByteChannel
-
Nested Class Summary
Nested classes/interfaces inherited from class java.nio.channels.FileChannel
FileChannel.MapMode -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFileChannelFromSeekableByteChannelImpl(SeekableByteChannel delegate, int blockSize) -
Method Summary
Methods inherited from class com.sshtools.vfs2nio.FileChannelFromSeekableByteChannelBase
force, implCloseChannel, lock, map, position, position, read, read, read, size, transferFrom, transferTo, truncate, tryLock, write, write, writeMethods inherited from class java.nio.channels.spi.AbstractInterruptibleChannel
begin, close, end, isOpen
-
Field Details
-
DEFAULT_BLOCK_SIZE
public static final int DEFAULT_BLOCK_SIZE- See Also:
-
delegate
-
blockSize
protected int blockSize
-
-
Constructor Details
-
FileChannelFromSeekableByteChannelImpl
-
FileChannelFromSeekableByteChannelImpl
-
-
Method Details
-
getSeekableByteChannel
- Specified by:
getSeekableByteChannelin classFileChannelFromSeekableByteChannelBase
-
getBlockSize
protected int getBlockSize()- Specified by:
getBlockSizein classFileChannelFromSeekableByteChannelBase
-