rice.email.proxy.mailbox.postbox
Class PostMessage
java.lang.Object
rice.email.proxy.mailbox.postbox.PostMessage
-
All Implemented Interfaces:
- StoredMessage
-
public class PostMessage
- extends java.lang.Object
- implements StoredMessage
Method Summary |
protected static PostUserAddress[] |
getAddresses(MimeParser parser,
java.lang.String field,
Environment env)
|
FlagList |
getFlagList()
|
Folder |
getFolder()
|
long |
getInternalDate()
|
Email |
getMessage()
|
int |
getSequenceNumber()
|
StoredEmail |
getStoredEmail()
|
int |
getUID()
|
static Email |
parseEmail(java.net.InetAddress local,
java.net.InetAddress remote,
PostEntityAddress[] addresses,
Resource content,
Environment env)
|
static Email |
parseEmail(java.net.InetAddress local,
java.net.InetAddress remote,
PostEntityAddress[] recipients,
Resource content,
PostEntityAddress address,
Environment env)
|
static Email |
parseEmail(java.net.InetAddress local,
java.net.InetAddress remote,
Resource content,
Environment env)
|
static javax.mail.internet.MimeMessage |
processEmailMessagePartSpecial(EmailMessagePart part,
Environment env)
|
void |
purge()
|
void |
setSequenceNumber(int num)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UNSECURE_HEADER_LINE
public static java.lang.String UNSECURE_HEADER_LINE
SECURE_HEADER_LINE
public static java.lang.String SECURE_HEADER_LINE
IMAGE_URL_HEADER_LINE
public static java.lang.String IMAGE_URL_HEADER_LINE
factory
public static IdFactory factory
PostMessage
public PostMessage(StoredEmail storedEmail,
int sequence,
Folder folder)
getUID
public int getUID()
-
- Specified by:
-
getUID
in interface StoredMessage
-
getInternalDate
public long getInternalDate()
-
- Specified by:
-
getInternalDate
in interface StoredMessage
-
setSequenceNumber
public void setSequenceNumber(int num)
-
-
getSequenceNumber
public int getSequenceNumber()
-
- Specified by:
-
getSequenceNumber
in interface StoredMessage
-
getFolder
public Folder getFolder()
-
-
getStoredEmail
public StoredEmail getStoredEmail()
-
-
getMessage
public Email getMessage()
throws MailboxException
-
- Specified by:
-
getMessage
in interface StoredMessage
-
-
Throws:
MailboxException
getFlagList
public FlagList getFlagList()
-
- Specified by:
-
getFlagList
in interface StoredMessage
-
purge
public void purge()
throws MailboxException
-
- Specified by:
-
purge
in interface StoredMessage
-
-
Throws:
MailboxException
getAddresses
protected static PostUserAddress[] getAddresses(MimeParser parser,
java.lang.String field,
Environment env)
throws MailboxException
-
-
-
Throws:
MailboxException
parseEmail
public static Email parseEmail(java.net.InetAddress local,
java.net.InetAddress remote,
Resource content,
Environment env)
throws MailboxException
-
-
-
Throws:
MailboxException
parseEmail
public static Email parseEmail(java.net.InetAddress local,
java.net.InetAddress remote,
PostEntityAddress[] addresses,
Resource content,
Environment env)
throws MailboxException
-
-
-
Throws:
MailboxException
parseEmail
public static Email parseEmail(java.net.InetAddress local,
java.net.InetAddress remote,
PostEntityAddress[] recipients,
Resource content,
PostEntityAddress address,
Environment env)
throws MailboxException
-
-
-
Throws:
MailboxException
processEmailMessagePartSpecial
public static javax.mail.internet.MimeMessage processEmailMessagePartSpecial(EmailMessagePart part,
Environment env)
throws MailboxException,
javax.mail.MessagingException
-
-
-
Throws:
-
MailboxException
javax.mail.MessagingException
Copyright © 2001-2005 - Rice Pastry.