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
Modifier and TypeFieldDescriptionprotected String
Deprecated.protected MimetypeRegistry
Deprecated.since 11.1.protected Blob
Deprecated.Fields inherited from class org.nuxeo.ecm.core.api.blobholder.SimpleBlobHolder
blobs, creationDate
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Blob
Deprecated.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.void
Deprecated.Reloads theBlobHolder
from a file.Deprecated.Persists the blobHolder to disk.Methods inherited from class org.nuxeo.ecm.core.convert.cache.SimpleCachableBlobHolder
addDirectoryToList, orderIndexPageFirst
Methods inherited from class org.nuxeo.ecm.core.api.blobholder.SimpleBlobHolder
getBasePath, getModificationDate, getProperties, getProperty, init, setBlob
Methods inherited from class org.nuxeo.ecm.core.api.blobholder.AbstractBlobHolder
getFilePath, getHash, getMD5Digest
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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)
withMimetypeRegistry
instead. -
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:BlobHolder
Returns the Blob held inside the object.- Specified by:
getBlob
in interfaceBlobHolder
- Overrides:
getBlob
in classSimpleBlobHolder
-
getBlobs
Deprecated.Description copied from interface:BlobHolder
Returns a list of blobs, if holder implementation supports multiple blobs.- Specified by:
getBlobs
in interfaceBlobHolder
- Overrides:
getBlobs
in classSimpleBlobHolder
-
load
Deprecated.Description copied from interface:CachableBlobHolder
Reloads theBlobHolder
from a file.- Specified by:
load
in interfaceCachableBlobHolder
- Overrides:
load
in classSimpleCachableBlobHolder
- Throws:
IOException
-
persist
Deprecated.Description copied from interface:CachableBlobHolder
Persists the blobHolder to disk.- Specified by:
persist
in interfaceCachableBlobHolder
- Overrides:
persist
in 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)
withMimetypeRegistry
instead.- Throws:
ConversionException
-
createIndexBlob
Deprecated.
-