public class EndableReader extends Reader
Constructor and Description |
---|
EndableReader(Reader reader) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
read() |
int |
read(char[] cbuf,
int off,
int len) |
boolean |
ready() |
void |
setForceEOF()
Set EOF.
|
public EndableReader(Reader reader)
public void setForceEOF()
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class Reader
IOException
Reader.close()
public int read() throws IOException
read
in class Reader
IOException
Reader.read()
public int read(char[] cbuf, int off, int len) throws IOException
read
in class Reader
IOException
Reader.read(char[], int, int)
public boolean ready() throws IOException
ready
in class Reader
IOException
Reader.ready()
Copyright © 2013. All Rights Reserved.