public class BasicReadOnlyBlobStore extends Object implements org.apache.jackrabbit.oak.spi.blob.BlobStore
| Constructor and Description |
|---|
BasicReadOnlyBlobStore() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBlobId(String reference) |
long |
getBlobLength(String blobId) |
InputStream |
getInputStream(String blobId) |
String |
getReference(String blobId) |
int |
readBlob(String blobId,
long pos,
byte[] buff,
int off,
int length) |
String |
writeBlob(InputStream in) |
public String writeBlob(InputStream in) throws IOException
writeBlob in interface org.apache.jackrabbit.oak.spi.blob.BlobStoreIOExceptionpublic int readBlob(String blobId, long pos, byte[] buff, int off, int length) throws IOException
readBlob in interface org.apache.jackrabbit.oak.spi.blob.BlobStoreIOExceptionpublic long getBlobLength(String blobId) throws IOException
getBlobLength in interface org.apache.jackrabbit.oak.spi.blob.BlobStoreIOExceptionpublic InputStream getInputStream(String blobId) throws IOException
getInputStream in interface org.apache.jackrabbit.oak.spi.blob.BlobStoreIOExceptionpublic String getBlobId(String reference)
getBlobId in interface org.apache.jackrabbit.oak.spi.blob.BlobStorepublic String getReference(String blobId)
getReference in interface org.apache.jackrabbit.oak.spi.blob.BlobStoreCopyright © 2012-2018 The Apache Software Foundation. All Rights Reserved.