Class ScanFileBlobHolder
java.lang.Object
org.nuxeo.ecm.core.api.blobholder.AbstractBlobHolder
org.nuxeo.ecm.core.api.blobholder.SimpleBlobHolder
org.nuxeo.ecm.platform.scanimporter.service.ScanFileBlobHolder
- All Implemented Interfaces:
BlobHolder
Extended implementation of
BlobHolder
- stores properties extracted from XML - stores documentType extracted
from XML- Author:
- Thierry Delprat
-
Field Summary
Fields inherited from class org.nuxeo.ecm.core.api.blobholder.SimpleBlobHolder
blobs, creationDate
-
Constructor Summary
ConstructorDescriptionScanFileBlobHolder
(List<Blob> blobs, Map<String, Serializable> properties, String targetType) ScanFileBlobHolder
(Blob blob, String targetType) -
Method Summary
Modifier and TypeMethodDescriptionReturns all properties as a Map.getProperty
(String name) Returns a named property.Methods inherited from class org.nuxeo.ecm.core.api.blobholder.SimpleBlobHolder
getBasePath, getBlob, getBlobs, getModificationDate, init, setBlob
Methods inherited from class org.nuxeo.ecm.core.api.blobholder.AbstractBlobHolder
getFilePath, getHash, getMD5Digest
-
Field Details
-
properties
-
targetType
-
-
Constructor Details
-
ScanFileBlobHolder
-
ScanFileBlobHolder
-
-
Method Details
-
getProperty
Description copied from interface:BlobHolder
Returns a named property.- Specified by:
getProperty
in interfaceBlobHolder
- Overrides:
getProperty
in classSimpleBlobHolder
-
getProperties
Description copied from interface:BlobHolder
Returns all properties as a Map.- Specified by:
getProperties
in interfaceBlobHolder
- Overrides:
getProperties
in classSimpleBlobHolder
-
getTargetType
-