public class ZipCachableBlobHolder extends SimpleCachableBlobHolder
| Constructor and Description |
|---|
ZipCachableBlobHolder() |
ZipCachableBlobHolder(Blob zipBlob) |
| Modifier and Type | Method and Description |
|---|---|
Blob |
getBlob()
Returns the Blob held inside the object.
|
Blob |
getBlob(String path) |
List<Blob> |
getBlobs()
Returns a list of blobs, if holder implementation supports multiple
blobs.
|
String |
getMimeType(File file) |
MimetypeRegistry |
getMimeTypeService() |
void |
load(String path)
Reloads the
BlobHolder from a file. |
String |
persist(String basePath)
Persists the blobHolder to disk.
|
addDirectoryToListgetModificationDate, getProperties, getPropertygetFilePath, getHash, setBlobequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFilePath, getHash, getModificationDate, getProperties, getProperty, setBlobpublic ZipCachableBlobHolder()
public ZipCachableBlobHolder(Blob zipBlob)
public Blob getBlob(String path) throws IOException, MimetypeNotFoundException, MimetypeDetectionException, ConversionException
public Blob getBlob() throws ClientException
BlobHoldergetBlob in interface BlobHoldergetBlob in class SimpleBlobHolderClientExceptionpublic List<Blob> getBlobs() throws ClientException
BlobHoldergetBlobs in interface BlobHoldergetBlobs in class SimpleBlobHolderClientExceptionpublic void load(String path)
CachableBlobHolderBlobHolder from a file.load in interface CachableBlobHolderload in class SimpleCachableBlobHolderpublic String persist(String basePath) throws Exception
CachableBlobHolderpersist in interface CachableBlobHolderpersist in class SimpleCachableBlobHolderbasePath - the base path (existing directory) as determined by the callerExceptionpublic String getMimeType(File file) throws ConversionException
ConversionExceptionpublic MimetypeRegistry getMimeTypeService() throws ConversionException
ConversionExceptionCopyright © 2013 Nuxeo SA. All Rights Reserved.