org.camunda.bpm.engine.impl.mail
Class MailTransformer
java.lang.Object
org.camunda.bpm.engine.impl.mail.MailTransformer
public class MailTransformer
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ATTACHMENT_SIZE_LIMIT
public static int ATTACHMENT_SIZE_LIMIT
message
protected javax.mail.Message message
containsHtml
protected boolean containsHtml
messageText
protected StringBuilder messageText
messageHtml
protected StringBuilder messageHtml
recipients
protected List<String> recipients
attachments
protected List<AttachmentEntity> attachments
MailTransformer
public MailTransformer(javax.mail.Message message)
throws Exception
- Throws:
Exception
getHtml
public String getHtml()
getAttachments
public List<AttachmentEntity> getAttachments()
processContentPart
protected void processContentPart(int indent,
javax.mail.Part part)
throws Exception
- Throws:
Exception
getImageMimeType
protected String getImageMimeType(String attachmentName)
processRecipients
protected void processRecipients(javax.mail.Message message)
throws Exception
- Throws:
Exception
htmlExtractBodyContent
public String htmlExtractBodyContent(String rawHtml)
htmlRemoveStartTag
protected String htmlRemoveStartTag(String html,
String tagName)
htmlRemoveOuterTag
protected String htmlRemoveOuterTag(String html,
String tagName)
getMimeType
public String getMimeType(javax.mail.Part part)
throws Exception
- Throws:
Exception
getRecipients
public List<String> getRecipients()
setRecipients
public void setRecipients(List<String> recipients)
getMessage
public javax.mail.Message getMessage()
Copyright © 2014 camunda services GmbH. All Rights Reserved.