Class FSInputStream
- java.lang.Object
-
- java.io.InputStream
-
- org.gcube.data.access.storagehub.fs.FSInputStream
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public class FSInputStream extends InputStream
-
-
Constructor Summary
Constructors Constructor Description FSInputStream()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidadd(byte[] buf)intavailable()voidclose()booleanisClosed()intread()-
Methods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, transferTo
-
-
-
-
Method Detail
-
add
protected void add(byte[] buf)
-
read
public int read() throws IOException- Specified by:
readin classInputStream- Throws:
IOException
-
available
public int available()
- Overrides:
availablein classInputStream
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-
isClosed
public boolean isClosed()
-
-