Package org.h2.store
Class FileStoreInputStream
java.lang.Object
java.io.InputStream
org.h2.store.FileStoreInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
An input stream that is backed by a file store.
-
Constructor Summary
ConstructorsConstructorDescriptionFileStoreInputStream(FileStore store, boolean compression, boolean alwaysClose) -
Method Summary
Methods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
FileStoreInputStream
-
-
Method Details
-
available
public int available()- Overrides:
availablein classInputStream
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-