protected class DataLineJamesMessageHookHandler.MailToMailEnvelopeWrapper extends Object implements org.apache.james.protocols.smtp.MailEnvelope
Constructor and Description |
---|
DataLineJamesMessageHookHandler.MailToMailEnvelopeWrapper(org.apache.mailet.Mail mail,
OutputStream out) |
Modifier and Type | Method and Description |
---|---|
InputStream |
getMessageInputStream() |
OutputStream |
getMessageOutputStream() |
List<org.apache.james.protocols.smtp.MailAddress> |
getRecipients() |
org.apache.james.protocols.smtp.MailAddress |
getSender() |
long |
getSize() |
public DataLineJamesMessageHookHandler.MailToMailEnvelopeWrapper(org.apache.mailet.Mail mail, OutputStream out)
public InputStream getMessageInputStream() throws IOException
getMessageInputStream
in interface org.apache.james.protocols.smtp.MailEnvelope
IOException
MailEnvelope.getMessageInputStream()
public OutputStream getMessageOutputStream() throws IOException
getMessageOutputStream
in interface org.apache.james.protocols.smtp.MailEnvelope
IOException
MailEnvelope.getMessageOutputStream()
public List<org.apache.james.protocols.smtp.MailAddress> getRecipients()
getRecipients
in interface org.apache.james.protocols.smtp.MailEnvelope
MailEnvelope.getRecipients()
public org.apache.james.protocols.smtp.MailAddress getSender()
getSender
in interface org.apache.james.protocols.smtp.MailEnvelope
MailEnvelope.getSender()
public long getSize()
getSize
in interface org.apache.james.protocols.smtp.MailEnvelope
MailEnvelope.getSize()
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.