public interface RandomAccessRead extends SequentialRead
void seek(long position) throws IOException
position
- The position to seek to.IOException
- If there is an error while seeking.long length() throws IOException
IOException
- If there is an IO error while determining the
length of the data stream.Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.