The Mozilla
Organization
At A Glance
Feedback
Get Involved
Newsgroups
License Terms
Newsbot
Developer Docs
Roadmap
Projects
Ports
Module Owners
Hacking
Get the Source
Build It
Testing
Download
Bugzilla
Bug Writing
Tools
View Source
Tree Status
New Checkins
Submit A Bug
FAQ
Search
Class grendel.storage.PartialFileInputStream
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
Copyright © 1998-2000 The Mozilla Organization.
Last modified December 25, 1998.