kmy.jint.io
Class JintReader
java.lang.Object
|
+--java.io.Reader
|
+--kmy.jint.io.JintReader
- public class JintReader
- extends java.io.Reader
Fields inherited from class java.io.Reader |
lock,
maxSkipBufferSize,
skipBuffer |
Methods inherited from class java.io.Reader |
read |
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
in
java.io.Reader in
buffer
char[] buffer
head
int head
tail
int tail
markCount
int markCount
dirty
boolean dirty
eof
boolean eof
ignoreRegex
private Regex ignoreRegex
debug
static final boolean debug
bufSize
static int bufSize
refiller
RegexRefiller refiller
JintReader
public JintReader(java.io.Reader r)
throws java.io.IOException
JintReader
public JintReader(java.lang.String fileName)
throws java.io.IOException
bufRep
java.lang.String bufRep()
fillBufferIfHaveTo
int fillBufferIfHaveTo(int h)
throws java.io.IOException
matchToken
public boolean matchToken(Regex regex)
throws java.io.IOException
skipIgnore
void skipIgnore()
throws java.io.IOException
setIgnore
public void setIgnore(Regex r)
getIgnore
public Regex getIgnore()
readDelimitedToken
public CharString readDelimitedToken(Regex regex)
throws java.io.IOException
read
public boolean read(Regex regex)
throws java.io.IOException
read
public boolean read(java.lang.String string)
throws java.io.IOException
read
public int read()
throws java.io.IOException
- Overrides:
- read in class java.io.Reader
read
public int read(char[] buf,
int off,
int len)
throws java.io.IOException
- Overrides:
- read in class java.io.Reader
skip
public long skip(long nChars)
throws java.io.IOException
- Overrides:
- skip in class java.io.Reader
ready
public boolean ready()
throws java.io.IOException
- Overrides:
- ready in class java.io.Reader
eof
public boolean eof()
mark
public JintReader.Mark mark()
reset
public void reset(JintReader.Mark m)
markSupported
public boolean markSupported()
- Overrides:
- markSupported in class java.io.Reader
mark
public void mark(int nChars)
- Overrides:
- mark in class java.io.Reader
reset
public void reset()
- Overrides:
- reset in class java.io.Reader
close
public void close()
throws java.io.IOException
- Overrides:
- close in class java.io.Reader