|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.Reader
org.extex.main.tex.TeXInputReader
public class TeXInputReader
This Reader gets the characters from System.in but presents a prompt before each line of input.
| Field Summary |
|---|
| Fields inherited from class java.io.Reader |
|---|
lock |
| Constructor Summary | |
|---|---|
TeXInputReader(java.util.logging.Logger logger,
java.lang.String charset,
Interpreter interpreter)
Creates a new object. |
|
| Method Summary | |
|---|---|
void |
close()
|
boolean |
markSupported()
|
int |
read()
|
int |
read(char[] buffer)
|
int |
read(char[] buffer,
int startIndex,
int len)
|
boolean |
ready()
|
void |
reset()
|
long |
skip(long n)
|
| Methods inherited from class java.io.Reader |
|---|
mark, read |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TeXInputReader(java.util.logging.Logger logger,
java.lang.String charset,
Interpreter interpreter)
throws java.io.UnsupportedEncodingException
logger - the logger to write tocharset - the character set to useinterpreter - the interpreter
java.io.UnsupportedEncodingException - in case that the encoding is not
known| Method Detail |
|---|
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in class java.io.Readerjava.io.IOExceptionReader.close()public boolean markSupported()
markSupported in class java.io.ReaderReader.markSupported()
public int read()
throws java.io.IOException
read in class java.io.Readerjava.io.IOExceptionReader.read()
public int read(char[] buffer)
throws java.io.IOException
read in class java.io.Readerjava.io.IOExceptionReader.read(char[])
public int read(char[] buffer,
int startIndex,
int len)
throws java.io.IOException
read in class java.io.Readerjava.io.IOExceptionReader.read(char[], int, int)
public boolean ready()
throws java.io.IOException
ready in class java.io.Readerjava.io.IOExceptionReader.ready()
public void reset()
throws java.io.IOException
reset in class java.io.Readerjava.io.IOExceptionReader.reset()
public long skip(long n)
throws java.io.IOException
skip in class java.io.Readerjava.io.IOExceptionReader.skip(long)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||