public class StringReader extends Reader
Constructor and Description |
---|
StringReader(String s) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
mark(int i) |
boolean |
markSupported() |
int |
read() |
int |
read(char[] ac,
int i,
int j) |
boolean |
ready() |
void |
reset() |
long |
skip(long l) |
public StringReader(String s)
s
- ?public void mark(int i) throws IOException
mark
in class Reader
i
- ?IOException
- ?public boolean markSupported()
markSupported
in class Reader
public int read() throws IOException
read
in class Reader
IOException
- ?public int read(char[] ac, int i, int j) throws IOException
read
in class Reader
ac
- ?i
- ?j
- ?IOException
- ?public void reset() throws IOException
reset
in class Reader
IOException
- ?public long skip(long l) throws IOException
skip
in class Reader
l
- ?IOException
- ?