All Packages This Package Class Hierarchy Class Search Index
Class grendel.storage.PartialFileInputStream
java.lang.Object | +----java.io.InputStream | +----java.io.FileInputStream | +----grendel.storage.PartialFileInputStream
Implements an input stream that comes from just a portion of a file.
class PartialFileInputStream extends java.io.FileInputStream { // Fields 1 int remaining; // Constructors 1 public PartialFileInputStream(File, int, int) throws IOException, FileNotFoundException; // Methods 3 public int read() throws IOException; public int read(byte[]) throws IOException; public int read(byte[], int, int) throws IOException; }
Fields
remaining
int remaining
Constructors
PartialFileInputStream
public PartialFileInputStream(File f, int start, int length) throws IOException, FileNotFoundException
Methods
read
public int read() throws IOException
- Overrides:
- read in class FileInputStream
read
public int read(byte[] b) throws IOException
- Overrides:
- read in class FileInputStream
read
public int read(byte[] b, int off, int length) throws IOException
- Overrides:
- read in class FileInputStream
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4