private static final class TextBuffer.BufferReader
extends java.io.Reader
Modifier and Type | Field and Description |
---|---|
(package private) int |
_currentLength |
(package private) int |
_currentOffset |
(package private) char[] |
_currentSegment |
(package private) int |
_segmentIndex |
(package private) int |
_segmentOffset |
(package private) java.util.ArrayList<char[]> |
_segments |
Constructor and Description |
---|
BufferReader(java.util.ArrayList<char[]> segs,
char[] currSeg,
int currSegLen) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
mark(int x) |
boolean |
markSupported() |
int |
read(char[] cbuf,
int offset,
int len) |
boolean |
ready() |
void |
reset() |
long |
skip(long amount) |
java.util.ArrayList<char[]> _segments
char[] _currentSegment
final int _currentLength
int _segmentIndex
int _segmentOffset
int _currentOffset
public BufferReader(java.util.ArrayList<char[]> segs, char[] currSeg, int currSegLen)
public void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.Reader
public void mark(int x) throws java.io.IOException
mark
in class java.io.Reader
java.io.IOException
public boolean markSupported()
markSupported
in class java.io.Reader
public int read(char[] cbuf, int offset, int len)
read
in class java.io.Reader
public boolean ready()
ready
in class java.io.Reader
public void reset() throws java.io.IOException
reset
in class java.io.Reader
java.io.IOException
public long skip(long amount)
skip
in class java.io.Reader