java.io
Class InputStream

java.lang.Object
  extended by java.io.InputStream
All Implemented Interfaces:
Closeable
Direct Known Subclasses:
ByteArrayInputStream, ChunkedInputStream, ContentLengthInputStream, FileInputStream, FilterInputStream, PipedInputStream, ResponseInputStream


public abstract class InputStream
extends Object
implements Closeable

Abstract class for byte-oriented input streams.

Compliance: CLDC: 1.0 complete

Compliance: J2SE: 1.4 complete


Constructor Summary
InputStream()
           
 
Method Summary
 int available()
           
 void close()
           
 void mark(int readlimit)
           
 boolean markSupported()
           
abstract  int read()
           
 int read(byte[] buffer)
           
 int read(byte[] b, int off, int len)
           
 void reset()
           
 long skip(long n)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InputStream

public InputStream()
Method Detail

available

public int available()
              throws IOException
Throws:
IOException

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Throws:
IOException

mark

public void mark(int readlimit)

markSupported

public boolean markSupported()

read

public abstract int read()
                  throws IOException
Throws:
IOException

read

public int read(byte[] buffer)
         throws IOException
Throws:
IOException

read

public int read(byte[] b,
                int off,
                int len)
         throws IOException
Throws:
IOException

reset

public void reset()
           throws IOException
Throws:
IOException

skip

public long skip(long n)
          throws IOException
Throws:
IOException