Class RAFInputStream
java.lang.Object
java.io.InputStream
ecmwf.common.callback.RAFInputStream
- All Implemented Interfaces:
Closeable, AutoCloseable
The Class RAFInputStream.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class InputStream
mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Constructor Details
-
RAFInputStream
Instantiates a new RAF input stream.- Parameters:
raf- the raf
-
-
Method Details
-
available
Available.- Overrides:
availablein classInputStream- Returns:
- the int
- Throws:
IOException- Signals that an I/O exception has occurred.
-
read
Read.- Specified by:
readin classInputStream- Returns:
- the int
- Throws:
IOException- Signals that an I/O exception has occurred.
-
read
Read.- Overrides:
readin classInputStream- Parameters:
b- the b- Returns:
- the int
- Throws:
IOException- Signals that an I/O exception has occurred.
-
read
Read.- Overrides:
readin classInputStream- Parameters:
b- the boff- the offlen- the len- Returns:
- the int
- Throws:
IOException- Signals that an I/O exception has occurred.
-
reset
Reset.- Overrides:
resetin classInputStream- Throws:
IOException- Signals that an I/O exception has occurred.
-
skip
Skip.- Overrides:
skipin classInputStream- Parameters:
n- the n- Returns:
- the long
- Throws:
IOException- Signals that an I/O exception has occurred.
-
close
Closes this stream and performs all associated cleanup.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException- If an error occurs during closing.
-