Package org.frankframework.filesystem
Class MailFileSystemUtils
java.lang.Object
org.frankframework.filesystem.MailFileSystemUtils
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected static org.apache.logging.log4j.Logger
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic <M,A> void addAttachmentInfo(IMailFileSystem<M, A> fileSystem, A attachment, SaxElementBuilder attachmentsXml) static <M,A> void addEmailInfo(IMailFileSystem<M, A> fileSystem, M emailMessage, SaxElementBuilder emailXml) static <M,A> void addEmailInfoSimple(IMailFileSystem<M, A> fileSystem, M emailMessage, SaxElementBuilder emailXml) static voidaddPropertyAsHeader(SaxElementBuilder xml, String elementName, Object property) static voidaddPropertyAsHeader(SaxElementBuilder xml, String elementName, String attributeName, String attributeValue, Object property) static voidaddRecipientProperty(SaxElementBuilder recipientsXml, Map<String, Object> properties, String key) static StringfindBestReplyAddress(Map<String, Object> headers, String replyAddressFields) static StringgetValidAddress(String type, String address) static StringgetValidAddressFromHeader(String key, Map<String, Object> headers) 
- 
Field Details- 
logprotected static org.apache.logging.log4j.Logger log
- 
specialHeaders
 
- 
- 
Constructor Details- 
MailFileSystemUtilspublic MailFileSystemUtils()
 
- 
- 
Method Details- 
addEmailInfoSimplepublic static <M,A> void addEmailInfoSimple(IMailFileSystem<M, A> fileSystem, M emailMessage, SaxElementBuilder emailXml) throws FileSystemException, SAXException- Throws:
- FileSystemException
- SAXException
 
- 
addPropertyAsHeaderpublic static void addPropertyAsHeader(SaxElementBuilder xml, String elementName, Object property) throws SAXException - Throws:
- SAXException
 
- 
addPropertyAsHeaderpublic static void addPropertyAsHeader(SaxElementBuilder xml, String elementName, String attributeName, String attributeValue, Object property) throws SAXException - Throws:
- SAXException
 
- 
addRecipientPropertypublic static void addRecipientProperty(SaxElementBuilder recipientsXml, Map<String, Object> properties, String key) throws SAXException- Throws:
- SAXException
 
- 
addEmailInfopublic static <M,A> void addEmailInfo(IMailFileSystem<M, A> fileSystem, M emailMessage, SaxElementBuilder emailXml) throws FileSystemException, SAXException- Throws:
- FileSystemException
- SAXException
 
- 
addAttachmentInfopublic static <M,A> void addAttachmentInfo(IMailFileSystem<M, A> fileSystem, A attachment, SaxElementBuilder attachmentsXml) throws FileSystemException, SAXException- Throws:
- FileSystemException
- SAXException
 
- 
findBestReplyAddress
- 
getValidAddressFromHeader
- 
getValidAddress
 
-