|
||||||||||
| 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 | |
|---|---|
InputStream |
getMessageInputStream()
Return the InputStream of the message |
OutputStream |
getMessageOutputStream()
Return the OutputStream of the message |
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(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 MailEnvelopeMailEnvelope.getSize()public List<org.apache.mailet.MailAddress> getRecipients()
MailEnvelope
getRecipients in interface MailEnvelopeMailEnvelope.getRecipients()public org.apache.mailet.MailAddress getSender()
MailEnvelope
getSender in interface MailEnvelopeMailEnvelope.getSender()public void setRecipients(List<org.apache.mailet.MailAddress> recipientCollection)
recipientCollection - public void setSender(org.apache.mailet.MailAddress sender)
sender - public OutputStream getMessageOutputStream()
MailEnvelope
getMessageOutputStream in interface MailEnvelopeMailEnvelope.getMessageOutputStream()public InputStream getMessageInputStream()
MailEnvelope
getMessageInputStream in interface MailEnvelopeMailEnvelope.getMessageInputStream()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||