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.BlobStore
IOException
public int readBlob(String blobId, long pos, byte[] buff, int off, int length) throws IOException
readBlob
in interface org.apache.jackrabbit.oak.spi.blob.BlobStore
IOException
public long getBlobLength(String blobId) throws IOException
getBlobLength
in interface org.apache.jackrabbit.oak.spi.blob.BlobStore
IOException
public InputStream getInputStream(String blobId) throws IOException
getInputStream
in interface org.apache.jackrabbit.oak.spi.blob.BlobStore
IOException
public String getBlobId(String reference)
getBlobId
in interface org.apache.jackrabbit.oak.spi.blob.BlobStore
Copyright © 2012-2016 The Apache Software Foundation. All Rights Reserved.