|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CharInputStreamI
Generic character input stream.
This interface is used to implement any kind of input stream that is capable
of reading a single character at a time. Such a stream can be used to read
the underlying source text for a lexical analyzer (lexer), such as the
LexerI
interface.
CharInputStreamDfl
,
LexerI
Field Summary | |
---|---|
static java.lang.String |
REV
Revision information. |
Method Summary | |
---|---|
void |
close()
Closes the input stream. |
int |
readChar()
Reads the next character from the input stream. |
void |
setInput(java.io.Reader in)
Establishes the input stream from which to read characters. |
Field Detail |
---|
static final java.lang.String REV
Method Detail |
---|
void setInput(java.io.Reader in)
in
- The input stream from which to read characters.void close()
int readChar() throws java.io.IOException
java.io.IOException
- Thrown if an I/O (read) error occurs.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |