public class TCharArrayReader extends Reader
Modifier and Type | Field and Description |
---|---|
protected char[] |
buf |
protected int |
count |
protected int |
markedPos |
protected int |
pos |
Constructor and Description |
---|
TCharArrayReader(char[] buf) |
TCharArrayReader(char[] buf,
int offset,
int length) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
mark(int readLimit) |
boolean |
markSupported() |
int |
read() |
int |
read(char[] buffer,
int offset,
int len) |
boolean |
ready() |
void |
reset() |
long |
skip(long n) |
protected char[] buf
protected int pos
protected int markedPos
protected int count
public TCharArrayReader(char[] buf)
public TCharArrayReader(char[] buf, int offset, int length)
public void close()
public void mark(int readLimit) throws IOException
mark
in class Reader
IOException
public boolean markSupported()
markSupported
in class Reader
public int read() throws IOException
read
in class Reader
IOException
public int read(char[] buffer, int offset, int len) throws IOException
read
in class Reader
IOException
public boolean ready() throws IOException
ready
in class Reader
IOException
public void reset() throws IOException
reset
in class Reader
IOException
public long skip(long n) throws IOException
skip
in class Reader
IOException
Copyright © 2019. All rights reserved.