|
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.Reader
|
+--java.io.InputStreamReader
Read characters from an input stream
| Field Summary |
| Fields inherited from class java.io.Reader |
lock |
| Constructor Summary | |
InputStreamReader(InputStream is)
Create an input stream reader using the default encoding |
|
InputStreamReader(InputStream is,
java.lang.String enc)
Create an input stream reader using the encoding |
|
| Method Summary | |
void |
close()
close the stream |
void |
mark(int limit)
mark the stream |
boolean |
markSupported()
See if mark is supported |
int |
read()
Read a character |
int |
read(char[] cbuf,
int off,
int len)
Read characters into a character array |
boolean |
ready()
See if the stream is ready |
void |
reset()
reset the stream |
long |
skip(long n)
Skip a number of characters |
| Methods inherited from class java.io.Reader |
read |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public InputStreamReader(InputStream is)
is - The input stream
public InputStreamReader(InputStream is,
java.lang.String enc)
throws UnsupportedEncodingException
is - The input streamenc - The encoding
UnuspportedEncodingException - if the encoding is not supported
UnsupportedEncodingException| Method Detail |
public void close()
throws IOException
close in class ReaderIOException - if there is an IO error
public void mark(int limit)
throws IOException
mark in class Readerlimit - The read ahaead limit
IOException - if there is an IO errorpublic boolean markSupported()
markSupported in class Reader
public int read()
throws IOException
read in class ReaderIOException - if there is an IO error
public int read(char[] cbuf,
int off,
int len)
throws IOException
read in class Readercbuf - The character arrayoff - The offsetlen - The length
IOException - if there is an IO error
public boolean ready()
throws IOException
ready in class ReaderIOException - if there is an IO error
public void reset()
throws IOException
reset in class ReaderIOException - if there is an IO error
public long skip(long n)
throws IOException
skip in class Readern - The number of characters to skip
IOException - if there is an IO error
|
DCT Lightfoot v3 API specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||