Interface BlobHolder
- All Known Subinterfaces:
CachableBlobHolder
- All Known Implementing Classes:
AbstractBlobHolder,DocumentBlobHolder,DocumentStringBlobHolder,DownloadBlobHolder,DownloadContextBlobHolder,MailMessageBlobHolder,PictureBlobHolder,PictureBookBlobHolder,ScanFileBlobHolder,SimpleBlobHolder,SimpleBlobHolderWithProperties,SimpleCachableBlobHolder,ZipCachableBlobHolder
public interface BlobHolder
Interface for an object that holds a
Blob.-
Method Summary
Modifier and TypeMethodDescriptiongetBlob()Returns the Blob held inside the object.getBlobs()Returns a list of blobs, if holder implementation supports multiple blobs.Returns a filesystem-like path to represent the held blob.getHash()Returns a hash for the held blob.Returns the held blob modification date.Returns all properties as a Map.getProperty(String name) Returns a named property.voidSets a blob in the object.
-
Method Details
-
getBlob
Blob getBlob()Returns the Blob held inside the object. -
setBlob
Sets a blob in the object.The underlying document must be saved by the caller.
-
getFilePath
String getFilePath()Returns a filesystem-like path to represent the held blob. -
getModificationDate
Calendar getModificationDate()Returns the held blob modification date. -
getHash
String getHash()Returns a hash for the held blob. -
getBlobs
Returns a list of blobs, if holder implementation supports multiple blobs. -
getProperty
Returns a named property. -
getProperties
Map<String,Serializable> getProperties()Returns all properties as a Map.
-