Class LocalInputStream
java.lang.Object
java.io.InputStream
ecmwf.common.callback.LocalInputStream
- All Implemented Interfaces:
Closeable, AutoCloseable
The Class LocalInputStream.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new local input stream. -
Method Summary
Methods inherited from class InputStream
mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Constructor Details
-
LocalInputStream
Instantiates a new local input stream.- Parameters:
in- the in
-
-
Method Details
-
available
Available.- Overrides:
availablein classInputStream- Returns:
- the int
- Throws:
IOException- Signals that an I/O exception has occurred.
-
close
Close.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- 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.
-