com.infoengine.modeler.data
Class CharAtATimeReader
java.lang.Object
java.io.Reader
java.io.BufferedReader
com.infoengine.modeler.data.CharAtATimeReader
- public class CharAtATimeReader
- extends BufferedReader
Field Summary |
(package private) long |
charsRead
|
(package private) long |
length
|
(package private) long |
mark
|
(package private) int[] |
peek
|
(package private) int |
peekIndex
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
length
long length
charsRead
long charsRead
mark
long mark
peek
int[] peek
peekIndex
int peekIndex
CharAtATimeReader
public CharAtATimeReader(Reader r,
long length)
getCharsRead
public long getCharsRead()
mark
public void mark()
throws IllegalArgumentException,
IOException
- Throws:
IllegalArgumentException
IOException
read
public int read()
throws IOException
- Throws:
IOException
reset
public void reset()
throws IOException
- Throws:
IOException
skip
public long skip(long n)
throws IOException
- Throws:
IOException
peek
public String peek(int nChars)
throws IOException
- Throws:
IOException