|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.james.protocols.smtp.MailEnvelopeImpl
public class MailEnvelopeImpl
MailEnvelope implementation which stores everything in memory
| Constructor Summary | |
|---|---|
MailEnvelopeImpl()
|
|
| Method Summary | |
|---|---|
java.io.InputStream |
getMessageInputStream()
Return the InputStream of the message |
java.io.OutputStream |
getMessageOutputStream()
Return the OutputStream of the message |
java.util.List<org.apache.mailet.MailAddress> |
getRecipients()
Return the recipients which where supplied in the RCPT TO: command |
org.apache.mailet.MailAddress |
getSender()
Return the sender of the mail which was supplied int the MAIL FROM: command. |
int |
getSize()
Return the size of the message. |
void |
setRecipients(java.util.List<org.apache.mailet.MailAddress> recipientCollection)
Set the recipients of the mail |
void |
setSender(org.apache.mailet.MailAddress sender)
Set the sender of the mail |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MailEnvelopeImpl()
| Method Detail |
|---|
public int getSize()
MailEnvelope
getSize in interface MailEnvelopepublic java.util.List<org.apache.mailet.MailAddress> getRecipients()
MailEnvelope
getRecipients in interface MailEnvelopepublic org.apache.mailet.MailAddress getSender()
MailEnvelope
getSender in interface MailEnvelopepublic void setRecipients(java.util.List<org.apache.mailet.MailAddress> recipientCollection)
recipientCollection - public void setSender(org.apache.mailet.MailAddress sender)
sender - public java.io.OutputStream getMessageOutputStream()
MailEnvelope
getMessageOutputStream in interface MailEnvelopepublic java.io.InputStream getMessageInputStream()
MailEnvelope
getMessageInputStream in interface MailEnvelope
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||