public class CharSequenceReader
extends java.io.Reader
Constructor and Description |
---|
CharSequenceReader(java.lang.CharSequence src) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
read() |
int |
read(char[] buff,
int off,
int len) |
boolean |
ready() |
public CharSequenceReader(java.lang.CharSequence src)
src
- the source of characters to be readpublic int read()
read
in class java.io.Reader
public int read(char[] buff, int off, int len) throws java.io.IOException
read
in class java.io.Reader
java.io.IOException
public boolean ready()
ready
in class java.io.Reader
public void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.Reader