Class RandomInputStream
java.lang.Object
java.io.InputStream
ecmwf.common.technical.RandomInputStream
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
RandomInputStream
Instantiates a new random input stream.- Parameters:
length
- the length- Throws:
IOException
- Signals that an I/O exception has occurred.
-
-
Method Details
-
available
Available.- Overrides:
available
in classInputStream
- Throws:
IOException
-
read
Read.- Specified by:
read
in classInputStream
- Throws:
IOException
-
read
Read.- Overrides:
read
in classInputStream
- Throws:
IOException
-
read
Read.- Overrides:
read
in classInputStream
- Throws:
IOException
-
close
Close.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classInputStream
- Throws:
IOException
-