You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by no...@apache.org on 2011/12/20 09:23:08 UTC
svn commit: r1221137 -
/james/protocols/trunk/smtp/src/main/java/org/apache/james/protocols/smtp/MailEnvelope.java
Author: norman
Date: Tue Dec 20 08:23:07 2011
New Revision: 1221137
URL: http://svn.apache.org/viewvc?rev=1221137&view=rev
Log:
Convert tabs to spaces
Modified:
james/protocols/trunk/smtp/src/main/java/org/apache/james/protocols/smtp/MailEnvelope.java
Modified: james/protocols/trunk/smtp/src/main/java/org/apache/james/protocols/smtp/MailEnvelope.java
URL: http://svn.apache.org/viewvc/james/protocols/trunk/smtp/src/main/java/org/apache/james/protocols/smtp/MailEnvelope.java?rev=1221137&r1=1221136&r2=1221137&view=diff
==============================================================================
--- james/protocols/trunk/smtp/src/main/java/org/apache/james/protocols/smtp/MailEnvelope.java (original)
+++ james/protocols/trunk/smtp/src/main/java/org/apache/james/protocols/smtp/MailEnvelope.java Tue Dec 20 08:23:07 2011
@@ -17,7 +17,6 @@
* under the License. *
****************************************************************/
-
package org.apache.james.protocols.smtp;
import java.io.IOException;
@@ -25,50 +24,49 @@ import java.io.InputStream;
import java.io.OutputStream;
import java.util.List;
-
/**
* The MailEnvelope of a SMTP-Transaction
*
- *
+ *
*/
public interface MailEnvelope {
/**
- * Return the size of the message. If the message is "empty" it will return -1
+ * Return the size of the message. If the message is "empty" it will return
+ * -1
*
* @return size
*/
- int getSize();
+ int getSize();
+
+ /**
+ * Return the recipients which where supplied in the RCPT TO: command
+ *
+ * @return recipients
+ */
+ List<MailAddress> getRecipients();
+
+ /**
+ * Return the sender of the mail which was supplied int the MAIL FROM:
+ * command. If its a "null" sender, null will get returned
+ *
+ * @return sender
+ */
+ MailAddress getSender();
- /**
- * Return the recipients which where supplied in the RCPT TO: command
- *
- * @return recipients
- */
- List<MailAddress> getRecipients();
-
- /**
- * Return the sender of the mail which was supplied int the MAIL FROM: command. If its a "null" sender,
- * null will get returned
- *
- * @return sender
- */
- MailAddress getSender();
-
-
- /**
- * Return the OutputStream of the message
- *
- * @return out
- * @throws IOException
- */
- OutputStream getMessageOutputStream() throws IOException;
-
- /**
- * Return the InputStream of the message
- *
- * @return in
- * @throws IOException
- */
- InputStream getMessageInputStream() throws IOException;
+ /**
+ * Return the OutputStream of the message
+ *
+ * @return out
+ * @throws IOException
+ */
+ OutputStream getMessageOutputStream() throws IOException;
+
+ /**
+ * Return the InputStream of the message
+ *
+ * @return in
+ * @throws IOException
+ */
+ InputStream getMessageInputStream() throws IOException;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org