public class RandomAccessFileStream extends AbstractBufferingStream
atEof, buffer, bufferCursor, bufferRemaining, closed, DEFAULT_READ_SIZE, offset| Constructor and Description |
|---|
RandomAccessFileStream(File file) |
RandomAccessFileStream(File file,
long offset) |
RandomAccessFileStream(File file,
long offset,
int readSize) |
public RandomAccessFileStream(File file) throws IndexOutOfBoundsException, FileNotFoundException, IOException
public RandomAccessFileStream(File file, long offset) throws IndexOutOfBoundsException, FileNotFoundException, IOException
public RandomAccessFileStream(File file, long offset, int readSize) throws IndexOutOfBoundsException, FileNotFoundException, IOException
public File getFile()
public void doClose()
throws IOException
doClose in class AbstractBufferingStreamIOExceptionpublic int doRead(byte[] b,
int off,
int len)
throws IOException
doRead in class AbstractBufferingStreamIOExceptionpublic void doSeek(long offset)
throws IOException
doSeek in class AbstractBufferingStreamIOExceptionCopyright © 2015 The International Internet Preservation Consortium. All Rights Reserved.