org.apache.jackrabbit.mk.blobs
Class BlobStoreInputStream
java.lang.Object
java.io.InputStream
org.apache.jackrabbit.mk.blobs.BlobStoreInputStream
- All Implemented Interfaces:
- Closeable
public class BlobStoreInputStream
- extends InputStream
An input stream to simplify reading from a store.
See also MicroKernelInputStream.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlobStoreInputStream
public BlobStoreInputStream(AbstractBlobStore store,
String id,
long pos)
read
public int read(byte[] b,
int off,
int len)
throws IOException
- Overrides:
read in class InputStream
- Throws:
IOException
read
public int read()
throws IOException
- Specified by:
read in class InputStream
- Throws:
IOException
readFully
public static byte[] readFully(AbstractBlobStore store,
String id)
throws IOException
- Throws:
IOException
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.