public abstract class CharStreamReader extends Reader implements CharStream
Constructor and Description |
---|
CharStreamReader() |
Modifier and Type | Method and Description |
---|---|
abstract int |
advance() |
void |
close() |
abstract void |
closeStream()
Close the stream - different name from java.io.Reader.close
|
int |
read() |
int |
read(char[] cbuf,
int off,
int len) |
public int read(char[] cbuf, int off, int len) throws IOException
read
in class Reader
IOException
public int read() throws IOException
read
in class Reader
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class Reader
IOException
public abstract int advance()
advance
in interface CharStream
public abstract void closeStream()
CharStream
closeStream
in interface CharStream
Licenced under the Apache License, Version 2.0