Class MailMessageBlobHolder
- java.lang.Object
-
- org.nuxeo.ecm.core.api.blobholder.AbstractBlobHolder
-
- org.nuxeo.ecm.core.api.blobholder.DocumentBlobHolder
-
- org.nuxeo.ecm.platform.mail.adapter.MailMessageBlobHolder
-
- All Implemented Interfaces:
BlobHolder
public class MailMessageBlobHolder extends DocumentBlobHolder
BlobHolder for MailMessage documents. The blob returned is a StringBlob with the mail body message as content.- Since:
- 5.7.3
- Author:
- ldoguin
-
-
Field Summary
Fields Modifier and Type Field Description protected Pattern
isHtmlPattern
-
Fields inherited from class org.nuxeo.ecm.core.api.blobholder.DocumentBlobHolder
blobList, doc, xPath
-
-
Constructor Summary
Constructors Constructor Description MailMessageBlobHolder(DocumentModel doc, String xPath, String filename)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Blob
getBlob()
Returns the Blob held inside the object.-
Methods inherited from class org.nuxeo.ecm.core.api.blobholder.DocumentBlobHolder
asDirectBlobHolder, computeBlobList, getBasePath, getBlobs, getDocument, getFullXPath, getHash, getModificationDate, getProperties, getProperty, getXpath, setBlob
-
Methods inherited from class org.nuxeo.ecm.core.api.blobholder.AbstractBlobHolder
getFilePath, getMD5Digest
-
-
-
-
Field Detail
-
isHtmlPattern
protected Pattern isHtmlPattern
-
-
Constructor Detail
-
MailMessageBlobHolder
public MailMessageBlobHolder(DocumentModel doc, String xPath, String filename)
-
-
Method Detail
-
getBlob
public Blob getBlob()
Description copied from interface:BlobHolder
Returns the Blob held inside the object.- Specified by:
getBlob
in interfaceBlobHolder
- Overrides:
getBlob
in classDocumentBlobHolder
-
-