com.hs.mail.imap.processor.fetch
Class Envelope

java.lang.Object
  extended by com.hs.mail.imap.processor.fetch.Envelope

public class Envelope
extends Object

The envelope structure if the message. This is computed by the server by parsing the [RFC-2822] header into the component parts, defaulting various fields as necessary.

Since:
Mar 8, 2010
Author:
Won Chul Doh

Constructor Summary
Envelope(String date, String subject, Address[] from, Address[] sender, Address[] replyTo, Address[] to, Address[] cc, Address[] bcc, String inReplyTo, String messageId)
           
 
Method Summary
 Address[] getBcc()
           
 Address[] getCc()
           
 String getDate()
           
 Address[] getFrom()
           
 String getInReplyTo()
           
 String getMessageId()
           
 Address[] getReplyTo()
           
 Address[] getSender()
           
 String getSubject()
           
 Address[] getTo()
           
 void setDate(String date)
           
 void setInReplyTo(String inReplyTo)
           
 void setMessageId(String messageId)
           
 void setSubject(String subject)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Envelope

public Envelope(String date,
                String subject,
                Address[] from,
                Address[] sender,
                Address[] replyTo,
                Address[] to,
                Address[] cc,
                Address[] bcc,
                String inReplyTo,
                String messageId)
Method Detail

getDate

public String getDate()

setDate

public void setDate(String date)

getInReplyTo

public String getInReplyTo()

setInReplyTo

public void setInReplyTo(String inReplyTo)

getMessageId

public String getMessageId()

setMessageId

public void setMessageId(String messageId)

getSubject

public String getSubject()

setSubject

public void setSubject(String subject)

getBcc

public Address[] getBcc()

getCc

public Address[] getCc()

getFrom

public Address[] getFrom()

getReplyTo

public Address[] getReplyTo()

getSender

public Address[] getSender()

getTo

public Address[] getTo()


Copyright © 2011. All Rights Reserved.