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.DotTerminatedInputStream

java.lang.Object
   |
   +----java.io.InputStream
           |
           +----java.io.FilterInputStream
                   |
                   +----grendel.storage.DotTerminatedInputStream

class  DotTerminatedInputStream
     extends java.io.FilterInputStream
{
          // Fields 6
     private static final int CAPACITY;
     ByteBuf curline;
     boolean eof;
     ByteBuf inbuf;
     ByteLineBuffer linebuf;
     byte[] singlebyte;

          // Constructors 1
     DotTerminatedInputStream(InputStream);

          // Methods 7
     public void bufferUpEverything();
     public void close();
     public boolean markSupported();
     public int read() throws IOException;
     public int read(byte[]) throws IOException;
     public int read(byte[], int, int) throws IOException;
     public long skip(long);
}



Fields


CAPACITY

   private static final int CAPACITY


curline

   ByteBuf curline


inbuf

   ByteBuf inbuf


linebuf

   ByteLineBuffer linebuf


eof

   boolean eof


singlebyte

   byte[] singlebyte



Constructors


DotTerminatedInputStream

   DotTerminatedInputStream(InputStream s) 



Methods


read

   public int read(byte[] buf, 
                   int start, 
                   int length)  throws IOException
Overrides:
read in class FilterInputStream


read

   public int read(byte[] buf)  throws IOException
Overrides:
read in class FilterInputStream


read

   public int read()  throws IOException
Overrides:
read in class FilterInputStream


skip

   public long skip(long n) 
Overrides:
skip in class FilterInputStream


markSupported

   public boolean markSupported() 
Overrides:
markSupported in class FilterInputStream


close

   public void close() 
Overrides:
close in class FilterInputStream


bufferUpEverything

   public void bufferUpEverything() 


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4