public class ExpectedFileReader extends FileReader
Constructor and Description |
---|
ExpectedFileReader(File file,
long expectedSize) |
Modifier and Type | Method and Description |
---|---|
long |
getTimeout() |
int |
read() |
int |
read(char[] cbuf) |
int |
read(char[] cbuf,
int offset,
int length) |
int |
read(CharBuffer target) |
void |
setTimeout(long timeout) |
long |
skip(long n) |
close, getEncoding, ready
mark, markSupported, reset
public ExpectedFileReader(File file, long expectedSize) throws FileNotFoundException
FileNotFoundException
public long getTimeout()
public void setTimeout(long timeout)
public long skip(long n) throws IOException
skip
in class Reader
IOException
public int read() throws IOException
read
in class InputStreamReader
IOException
public int read(char[] cbuf, int offset, int length) throws IOException
read
in class InputStreamReader
IOException
public int read(CharBuffer target) throws IOException
read
in interface Readable
read
in class Reader
IOException
public int read(char[] cbuf) throws IOException
read
in class Reader
IOException
Copyright (c) 2011-2014 Eike Stepper (Berlin, Germany) and others.