public class SeekableReadChannel extends ReadChannel
ReadChannel that supports seeking to a
random position.| Constructor and Description |
|---|
SeekableReadChannel(SeekableByteChannel in) |
| Modifier and Type | Method and Description |
|---|---|
void |
setPosition(long position) |
long |
size() |
bytesRead, close, readFully, readFullypublic SeekableReadChannel(SeekableByteChannel in)
public void setPosition(long position)
throws IOException
IOExceptionpublic long size()
throws IOException
IOExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.