com.openexchange.mail.structure
Interface StructureHandler

All Known Implementing Classes:
MIMEStructureHandler

public interface StructureHandler

StructureHandler - Structure handler.

Author:
Thorben Betten

Method Summary
 boolean handleAttachment(MailPart part, java.lang.String id)
           
 boolean handleColorLabel(int colorLabel)
           
 boolean handleHeaders(java.util.Iterator<java.util.Map.Entry<java.lang.String,java.lang.String>> iter)
           
 boolean handleInlineUUEncodedAttachment(UUEncodedPart part, java.lang.String id)
           
 boolean handleInlineUUEncodedPlainText(java.lang.String decodedTextContent, ContentType contentType, int size, java.lang.String fileName, java.lang.String id)
           
 boolean handleMultipartEnd()
           
 boolean handleMultipartStart(ContentType contentType, int bodyPartCount, java.lang.String id)
           
 boolean handleNestedMessage(MailPart mailPart, java.lang.String id)
           
 boolean handleReceivedDate(java.util.Date receivedDate)
           
 boolean handleSystemFlags(int flags)
           
 boolean handleUserFlags(java.lang.String[] userFlags)
           
 

Method Detail

handleAttachment

boolean handleAttachment(MailPart part,
                         java.lang.String id)
                         throws MailException
Throws:
MailException

handleHeaders

boolean handleHeaders(java.util.Iterator<java.util.Map.Entry<java.lang.String,java.lang.String>> iter)
                      throws MailException
Throws:
MailException

handleInlineUUEncodedAttachment

boolean handleInlineUUEncodedAttachment(UUEncodedPart part,
                                        java.lang.String id)
                                        throws MailException
Throws:
MailException

handleInlineUUEncodedPlainText

boolean handleInlineUUEncodedPlainText(java.lang.String decodedTextContent,
                                       ContentType contentType,
                                       int size,
                                       java.lang.String fileName,
                                       java.lang.String id)
                                       throws MailException
Throws:
MailException

handleMultipartStart

boolean handleMultipartStart(ContentType contentType,
                             int bodyPartCount,
                             java.lang.String id)
                             throws MailException
Throws:
MailException

handleMultipartEnd

boolean handleMultipartEnd()
                           throws MailException
Throws:
MailException

handleNestedMessage

boolean handleNestedMessage(MailPart mailPart,
                            java.lang.String id)
                            throws MailException
Throws:
MailException

handleReceivedDate

boolean handleReceivedDate(java.util.Date receivedDate)
                           throws MailException
Throws:
MailException

handleSystemFlags

boolean handleSystemFlags(int flags)
                          throws MailException
Throws:
MailException

handleUserFlags

boolean handleUserFlags(java.lang.String[] userFlags)
                        throws MailException
Throws:
MailException

handleColorLabel

boolean handleColorLabel(int colorLabel)
                         throws MailException
Throws:
MailException