Package org.eclipse.net4j.util.io
Class ExpectedFileInputStream
java.lang.Object
java.io.InputStream
java.io.FileInputStream
org.eclipse.net4j.util.io.ExpectedFileInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Since:
- 3.1
- Author:
- Eike Stepper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
int
read()
int
read
(byte[] b) int
read
(byte[] b, int off, int len) void
setTimeout
(long timeout) long
skip
(long n) Methods inherited from class java.io.FileInputStream
available, close, getChannel, getFD, readAllBytes, readNBytes
Methods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, readNBytes, reset, skipNBytes, transferTo
-
Constructor Details
-
ExpectedFileInputStream
- Throws:
FileNotFoundException
-
-
Method Details
-
getTimeout
public long getTimeout() -
setTimeout
public void setTimeout(long timeout) -
skip
- Overrides:
skip
in classFileInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classFileInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classFileInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classFileInputStream
- Throws:
IOException
-