public interface SeekableReadableByteChannel extends ReadableByteChannel
| Modifier and Type | Method and Description |
|---|---|
long |
position()
Returns this channel's position.
|
SeekableReadableByteChannel |
position(long newPosition)
Sets this channel's position.
|
long |
size()
Returns the current size of entity to which this channel is connected.
|
readlong position()
throws IOException
IOExceptionSeekableReadableByteChannel position(long newPosition) throws IOException
newPosition - The new position, counting the number of bytes from the beginning of the
entity.IOExceptionlong size()
throws IOException
IOExceptionCopyright © 2015. All rights reserved.