Package org.eclipse.net4j.util.io
Class ExpectedFileReader
- java.lang.Object
- 
- java.io.Reader
- 
- java.io.InputStreamReader
- 
- java.io.FileReader
- 
- org.eclipse.net4j.util.io.ExpectedFileReader
 
 
 
 
- 
- All Implemented Interfaces:
- java.io.Closeable,- java.lang.AutoCloseable,- java.lang.Readable
 
 public class ExpectedFileReader extends java.io.FileReader- Since:
- 3.1
- Author:
- Eike Stepper
 
- 
- 
Constructor SummaryConstructors Constructor Description ExpectedFileReader(java.io.File file, long expectedSize)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetTimeout()intread()intread(char[] cbuf)intread(char[] cbuf, int offset, int length)intread(java.nio.CharBuffer target)voidsetTimeout(long timeout)longskip(long n)
 
- 
- 
- 
Method Detail- 
getTimeoutpublic long getTimeout() 
 - 
setTimeoutpublic void setTimeout(long timeout) 
 - 
skippublic long skip(long n) throws java.io.IOException- Overrides:
- skipin class- java.io.Reader
- Throws:
- java.io.IOException
 
 - 
readpublic int read() throws java.io.IOException- Overrides:
- readin class- java.io.InputStreamReader
- Throws:
- java.io.IOException
 
 - 
readpublic int read(char[] cbuf, int offset, int length) throws java.io.IOException- Overrides:
- readin class- java.io.InputStreamReader
- Throws:
- java.io.IOException
 
 - 
readpublic int read(java.nio.CharBuffer target) throws java.io.IOException- Specified by:
- readin interface- java.lang.Readable
- Overrides:
- readin class- java.io.Reader
- Throws:
- java.io.IOException
 
 - 
readpublic int read(char[] cbuf) throws java.io.IOException- Overrides:
- readin class- java.io.Reader
- Throws:
- java.io.IOException
 
 
- 
 
-