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, readFully
public SeekableReadChannel(SeekableByteChannel in)
public void setPosition(long position) throws IOException
IOException
public long size() throws IOException
IOException
Copyright © 2024 The Apache Software Foundation. All rights reserved.