| java.lang.Object java.io.InputStream org.pdfbox.io.RandomAccessFileInputStream
RandomAccessFileInputStream | public class RandomAccessFileInputStream extends InputStream (Code) | | This class allows a section of a RandomAccessFile to be accessed as an
input stream.
author: Ben Litchfield version: $Revision: 1.5 $ |
Method Summary | |
public int | available() | public void | close() | public int | read() | public int | read(byte[] b, int offset, int length) | public long | skip(long amountToSkip) |
RandomAccessFileInputStream | public RandomAccessFileInputStream(RandomAccess raFile, long startPosition, long length)(Code) | | Constructor.
Parameters: raFile - The file to read the data from. Parameters: startPosition - The position in the file that this stream starts. Parameters: length - The length of the input stream. |
available | public int available()(Code) | | |
close | public void close()(Code) | | |
skip | public long skip(long amountToSkip)(Code) | | |
|
|