java.io
Class InputStream
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InputStream
public InputStream()
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