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:
Closeable,AutoCloseable,Readable
- Since:
- 3.1
- Author:
- Eike Stepper
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongintread()intread(char[] cbuf) intread(char[] cbuf, int offset, int length) intread(CharBuffer target) voidsetTimeout(long timeout) longskip(long n) Methods inherited from class java.io.InputStreamReader
close, getEncoding, readyMethods inherited from class java.io.Reader
mark, markSupported, nullReader, reset, transferTo
-
Constructor Details
-
ExpectedFileReader
- Throws:
FileNotFoundException
-
-
Method Details
-
getTimeout
public long getTimeout() -
setTimeout
public void setTimeout(long timeout) -
skip
- Overrides:
skipin classReader- Throws:
IOException
-
read
- Overrides:
readin classInputStreamReader- Throws:
IOException
-
read
- Overrides:
readin classInputStreamReader- Throws:
IOException
-
read
- Specified by:
readin interfaceReadable- Overrides:
readin classInputStreamReader- Throws:
IOException
-
read
- Overrides:
readin classReader- Throws:
IOException
-