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
-
Method Summary
Modifier and TypeMethodDescriptionlong
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) Methods inherited from class java.io.InputStreamReader
close, getEncoding, ready
Methods 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:
skip
in classReader
- Throws:
IOException
-
read
- Overrides:
read
in classInputStreamReader
- Throws:
IOException
-
read
- Overrides:
read
in classInputStreamReader
- Throws:
IOException
-
read
- Specified by:
read
in interfaceReadable
- Overrides:
read
in classInputStreamReader
- Throws:
IOException
-
read
- Overrides:
read
in classReader
- Throws:
IOException
-