org.h2.store
Class FileStoreInputStream
java.lang.Object
java.io.InputStream
org.h2.store.FileStoreInputStream
- All Implemented Interfaces:
- java.io.Closeable
public class FileStoreInputStream
- extends java.io.InputStream
An input stream that is backed by a file store.
Methods inherited from class java.io.InputStream |
mark, markSupported, reset, skip |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileStoreInputStream
public FileStoreInputStream(FileStore store,
DataHandler handler,
boolean compression,
boolean alwaysClose)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
available
public int available()
- Overrides:
available
in class java.io.InputStream
read
public int read(byte[] buff)
throws java.io.IOException
- Overrides:
read
in class java.io.InputStream
- Throws:
java.io.IOException
read
public int read(byte[] b,
int off,
int len)
throws java.io.IOException
- Overrides:
read
in class java.io.InputStream
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Specified by:
close
in interface java.io.Closeable
- Overrides:
close
in class java.io.InputStream
- Throws:
java.io.IOException
finalize
protected void finalize()
- Overrides:
finalize
in class java.lang.Object
read
public int read()
throws java.io.IOException
- Specified by:
read
in class java.io.InputStream
- Throws:
java.io.IOException