Class BlobStoreInputStream
- java.lang.Object
-
- java.io.InputStream
-
- org.apache.jackrabbit.oak.spi.blob.BlobStoreInputStream
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class BlobStoreInputStream extends InputStream
An input stream to simplify reading from a store. See also MicroKernelInputStream.
-
-
Constructor Summary
Constructors Constructor Description BlobStoreInputStream(BlobStore store, String id, long pos)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
read()
int
read(byte[] b, int off, int len)
static byte[]
readFully(BlobStore store, String id)
-
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, transferTo
-
-
-
-
Method Detail
-
read
public int read(byte[] b, int off, int len) throws IOException
- Overrides:
read
in classInputStream
- Throws:
IOException
-
read
public int read() throws IOException
- Specified by:
read
in classInputStream
- Throws:
IOException
-
readFully
public static byte[] readFully(BlobStore store, String id) throws IOException
- Throws:
IOException
-
-