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, readymark, markSupported, resetpublic ExpectedFileReader(File file, long expectedSize) throws FileNotFoundException
FileNotFoundExceptionpublic long getTimeout()
public void setTimeout(long timeout)
public long skip(long n)
throws IOException
skip in class ReaderIOExceptionpublic int read()
throws IOException
read in class InputStreamReaderIOExceptionpublic int read(char[] cbuf,
int offset,
int length)
throws IOException
read in class InputStreamReaderIOExceptionpublic int read(CharBuffer target) throws IOException
read in interface Readableread in class ReaderIOExceptionpublic int read(char[] cbuf)
throws IOException
read in class ReaderIOExceptionCopyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html