Package org.frankframework.filesystem
Class MailFileSystemUtils
java.lang.Object
org.frankframework.filesystem.MailFileSystemUtils
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static org.apache.logging.log4j.Logger -
Constructor Summary
Constructors -
Method Summary
Modifier 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
-
log
protected static org.apache.logging.log4j.Logger log -
specialHeaders
-
-
Constructor Details
-
MailFileSystemUtils
public MailFileSystemUtils()
-
-
Method Details
-
addEmailInfoSimple
public static <M,A> void addEmailInfoSimple(IMailFileSystem<M, A> fileSystem, M emailMessage, SaxElementBuilder emailXml) throws FileSystemException, SAXException- Throws:
FileSystemExceptionSAXException
-
addPropertyAsHeader
public static void addPropertyAsHeader(SaxElementBuilder xml, String elementName, Object property) throws SAXException - Throws:
SAXException
-
addPropertyAsHeader
public static void addPropertyAsHeader(SaxElementBuilder xml, String elementName, String attributeName, String attributeValue, Object property) throws SAXException - Throws:
SAXException
-
addRecipientProperty
public static void addRecipientProperty(SaxElementBuilder recipientsXml, Map<String, Object> properties, String key) throws SAXException- Throws:
SAXException
-
addEmailInfo
public static <M,A> void addEmailInfo(IMailFileSystem<M, A> fileSystem, M emailMessage, SaxElementBuilder emailXml) throws FileSystemException, SAXException- Throws:
FileSystemExceptionSAXException
-
addAttachmentInfo
public static <M,A> void addAttachmentInfo(IMailFileSystem<M, A> fileSystem, A attachment, SaxElementBuilder attachmentsXml) throws FileSystemException, SAXException- Throws:
FileSystemExceptionSAXException
-
findBestReplyAddress
-
getValidAddressFromHeader
-
getValidAddress
-