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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongintread()intread(byte[] b) intread(byte[] b, int off, int len) voidsetTimeout(long timeout) longskip(long n) Methods inherited from class java.io.FileInputStream
available, close, getChannel, getFD, readAllBytes, readNBytesMethods 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:
skipin classFileInputStream- Throws:
IOException
-
read
- Overrides:
readin classFileInputStream- Throws:
IOException
-
read
- Overrides:
readin classFileInputStream- Throws:
IOException
-
read
- Overrides:
readin classFileInputStream- Throws:
IOException
-