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 Readeri - ?IOException - ?public boolean markSupported()
markSupported in class Readerpublic int read()
throws IOException
read in class ReaderIOException - ?public int read(char[] ac,
int i,
int j)
throws IOException
read in class Readerac - ?i - ?j - ?IOException - ?public void reset()
throws IOException
reset in class ReaderIOException - ?public long skip(long l)
throws IOException
skip in class Readerl - ?IOException - ?