You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



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  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4