Class ZipCachableBlobHolder
java.lang.Object
org.nuxeo.ecm.core.api.blobholder.AbstractBlobHolder
org.nuxeo.ecm.core.api.blobholder.SimpleBlobHolder
org.nuxeo.ecm.core.convert.cache.SimpleCachableBlobHolder
org.nuxeo.ecm.platform.convert.plugins.ZipCachableBlobHolder
- All Implemented Interfaces:
BlobHolder,CachableBlobHolder
Deprecated.
since 11.5, unused
Cachable implementation of a zip file.
- Author:
- Laurent Doguin
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringDeprecated.protected MimetypeRegistryDeprecated.since 11.1.protected BlobDeprecated.Fields inherited from class org.nuxeo.ecm.core.api.blobholder.SimpleBlobHolder
blobs, creationDate -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BlobDeprecated.getBlob()Deprecated.Returns the Blob held inside the object.Deprecated.getBlobs()Deprecated.Returns a list of blobs, if holder implementation supports multiple blobs.getMimeType(File file) Deprecated.Deprecated.since 11.1.voidDeprecated.Reloads theBlobHolderfrom a file.Deprecated.Persists the blobHolder to disk.Methods inherited from class org.nuxeo.ecm.core.convert.cache.SimpleCachableBlobHolder
addDirectoryToList, orderIndexPageFirstMethods inherited from class org.nuxeo.ecm.core.api.blobholder.SimpleBlobHolder
getBasePath, getModificationDate, getProperties, getProperty, init, setBlobMethods inherited from class org.nuxeo.ecm.core.api.blobholder.AbstractBlobHolder
getFilePath, getHash, getMD5DigestMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.nuxeo.ecm.core.api.blobholder.BlobHolder
getFilePath, getHash, getModificationDate, getProperties, getProperty, setBlob
-
Field Details
-
zipBlob
Deprecated. -
mimeTypeService
Deprecated.since 11.1. UseFramework.getService(Class)withMimetypeRegistryinstead. -
key
Deprecated.
-
-
Constructor Details
-
ZipCachableBlobHolder
public ZipCachableBlobHolder()Deprecated. -
ZipCachableBlobHolder
Deprecated.
-
-
Method Details
-
getBlob
public Blob getBlob(String path) throws IOException, MimetypeNotFoundException, MimetypeDetectionException, ConversionException Deprecated. -
getBlob
Deprecated.Description copied from interface:BlobHolderReturns the Blob held inside the object.- Specified by:
getBlobin interfaceBlobHolder- Overrides:
getBlobin classSimpleBlobHolder
-
getBlobs
Deprecated.Description copied from interface:BlobHolderReturns a list of blobs, if holder implementation supports multiple blobs.- Specified by:
getBlobsin interfaceBlobHolder- Overrides:
getBlobsin classSimpleBlobHolder
-
load
Deprecated.Description copied from interface:CachableBlobHolderReloads theBlobHolderfrom a file.- Specified by:
loadin interfaceCachableBlobHolder- Overrides:
loadin classSimpleCachableBlobHolder- Throws:
IOException
-
persist
Deprecated.Description copied from interface:CachableBlobHolderPersists the blobHolder to disk.- Specified by:
persistin interfaceCachableBlobHolder- Overrides:
persistin classSimpleCachableBlobHolder- Parameters:
basePath- the base path (existing directory) as determined by the caller- Returns:
- the full path of the newly created FileSystem resource
- Throws:
IOException
-
getMimeType
Deprecated.- Throws:
ConversionException
-
getMimeTypeService
Deprecated.since 11.1. UseFramework.getService(Class)withMimetypeRegistryinstead.- Throws:
ConversionException
-
createIndexBlob
Deprecated.
-