|
DCT Lightfoot v3 API specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--java.io.InputStream
This is the superclass of all input streams
| Constructor Summary | |
InputStream()
Create a new input stream |
|
| Method Summary | |
int |
available()
return the number of available bytes in this stream |
void |
close()
Close the stream |
void |
mark(int readlimit)
Mark the current point in the stream |
boolean |
markSupported()
Test if the stream supports marks |
abstract int |
read()
read a byte |
int |
read(byte[] b)
read a number of bytes from the input stream and store into the byte array |
int |
read(byte[] b,
int off,
int len)
read a number of bytes from the input stream and store into the byte array |
void |
reset()
Reset the stream to where the mark was set |
long |
skip(long n)
skip a number of bytes from the stream |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public InputStream()
| Method Detail |
public int available()
throws IOException
IOException - if there is an IO error
public void close()
throws IOException
IOException - if there is an IO errorpublic void mark(int readlimit)
readlimit - the number of bytes to read before invalidating the markpublic boolean markSupported()
public abstract int read()
throws IOException
read in interface ReadableIOException - if there is an IO error
public int read(byte[] b)
throws IOException
b - The array to write into
IOException - if there is an IO error
public int read(byte[] b,
int off,
int len)
throws IOException
read in interface Readableb - The array to write intooff - The offset to start writing tolen - The maximum number of bytes to read
IOException - if there is an IO error
public void reset()
throws IOException
IOException - if there is an IO error
public long skip(long n)
throws IOException
skip in interface Readablen - The number to skip
IOException - if there is an IOError
|
DCT Lightfoot v3 API specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||