Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 26974 invoked from network); 27 Jul 2005 19:53:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Jul 2005 19:53:47 -0000 Received: (qmail 31169 invoked by uid 500); 27 Jul 2005 19:53:44 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 31107 invoked by uid 500); 27 Jul 2005 19:53:44 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 31094 invoked by uid 500); 27 Jul 2005 19:53:43 -0000 Received: (qmail 31091 invoked by uid 99); 27 Jul 2005 19:53:43 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 27 Jul 2005 12:53:32 -0700 Received: (qmail 26922 invoked by uid 65534); 27 Jul 2005 19:53:30 -0000 Message-ID: <20050727195330.26921.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r225592 - in /jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail: EmailAttachment.java HtmlEmail.java MultiPartEmail.java SimpleEmail.java Date: Wed, 27 Jul 2005 19:53:28 -0000 To: commons-cvs@jakarta.apache.org From: rdonkin@apache.org X-Mailer: svnmailer-1.0.2 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: rdonkin Date: Wed Jul 27 12:53:25 2005 New Revision: 225592 URL: http://svn.apache.org/viewcvs?rev=225592&view=rev Log: Fixed some speiling mistakes in the javadocs. Modified: jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/EmailAttachment.java jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/HtmlEmail.java jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/MultiPartEmail.java jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/SimpleEmail.java Modified: jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/EmailAttachment.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/EmailAttachment.java?rev=225592&r1=225591&r2=225592&view=diff ============================================================================== --- jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/EmailAttachment.java (original) +++ jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/EmailAttachment.java Wed Jul 27 12:53:25 2005 @@ -26,9 +26,9 @@ */ public class EmailAttachment { - /** Defintion of the part being an attachment */ + /** Definition of the part being an attachment */ public static final String ATTACHMENT = javax.mail.Part.ATTACHMENT; - /** Defintion of the part being inline */ + /** Definition of the part being inline */ public static final String INLINE = javax.mail.Part.INLINE; /** The name of this attachment. */ Modified: jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/HtmlEmail.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/HtmlEmail.java?rev=225592&r1=225591&r2=225592&view=diff ============================================================================== --- jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/HtmlEmail.java (original) +++ jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/HtmlEmail.java Wed Jul 27 12:53:25 2005 @@ -40,11 +40,11 @@ * email clients. * *

This class also inherits from MultiPartEmail, so it is easy to - * add attachents to the email. + * add attachments to the email. * *

To send an email in HTML, one should create a HtmlEmail, then * use the setFrom, addTo, etc. methods. The HTML content can be set - * with the setHtmlMsg method. The alternate text content can be set + * with the setHtmlMsg method. The alternative text content can be set * with setTextMsg. * *

Either the text or HTML can be omitted, in which case the "main" @@ -58,7 +58,7 @@ */ public class HtmlEmail extends MultiPartEmail { - /** Defintion of the length of generated CID's */ + /** Definition of the length of generated CID's */ public static final int CID_LENGTH = 10; /** @@ -70,7 +70,7 @@ /** Html part of the message */ protected String html; - /** Embeded images */ + /** Embedded images */ protected List inlineImages = new ArrayList(); /** @@ -79,7 +79,7 @@ * @param aText A String. * @return An HtmlEmail. * @throws EmailException see javax.mail.internet.MimeBodyPart - * for defintions + * for definitions * @since 1.0 */ public HtmlEmail setTextMsg(String aText) throws EmailException @@ -99,7 +99,7 @@ * @param aHtml A String. * @return An HtmlEmail. * @throws EmailException see javax.mail.internet.MimeBodyPart - * for defintions + * for definitions * @since 1.0 */ public HtmlEmail setHtmlMsg(String aHtml) throws EmailException @@ -125,7 +125,7 @@ * @param msg A String. * @return An Email. * @throws EmailException see javax.mail.internet.MimeBodyPart - * for defintions + * for definitions * @since 1.0 */ public Email setMsg(String msg) throws EmailException @@ -168,8 +168,8 @@ * @param name The name that will be set in the filename header * field. * @return A String with the Content-ID of the file. - * @throws EmailException when URL suplpied is invalid - * also see javax.mail.internet.MimeBodyPart for defintions + * @throws EmailException when URL supplied is invalid + * also see javax.mail.internet.MimeBodyPart for definitions * @since 1.0 */ public String embed(URL url, String name) throws EmailException Modified: jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/MultiPartEmail.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/MultiPartEmail.java?rev=225592&r1=225591&r2=225592&view=diff ============================================================================== --- jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/MultiPartEmail.java (original) +++ jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/MultiPartEmail.java Wed Jul 27 12:53:25 2005 @@ -93,7 +93,7 @@ * @param partContentType The content type. * @return An Email. * @throws EmailException see javax.mail.internet.MimeBodyPart - * for defintions + * for definitions * @since 1.0 */ public Email addPart(String partContent, String partContentType) @@ -182,7 +182,7 @@ * @param msg A String. * @return An Email. * @throws EmailException see javax.mail.internet.MimeBodyPart - * for defintions + * for definitions * @since 1.0 */ public Email setMsg(String msg) throws EmailException @@ -214,7 +214,7 @@ * Sends the mail message * * @throws EmailException see javax.mail.internet.MimeBodyPart - * for defintions + * for definitions * @since 1.0 */ public void send() throws EmailException @@ -253,12 +253,12 @@ } /** - * Attach an EmailAttachement. + * Attach an EmailAttachment. * * @param attachment An EmailAttachment. * @return A MultiPartEmail. * @throws EmailException see javax.mail.internet.MimeBodyPart - * for defintions + * for definitions * @since 1.0 */ public MultiPartEmail attach(EmailAttachment attachment) @@ -321,7 +321,7 @@ * @param description A description for the attachment. * @return A MultiPartEmail. * @throws EmailException see javax.mail.internet.MimeBodyPart - * for defintions + * for definitions * @since 1.0 */ public MultiPartEmail attach(URL url, String name, String description) @@ -339,7 +339,7 @@ * @param disposition Either mixed or inline. * @return A MultiPartEmail. * @throws EmailException see javax.mail.internet.MimeBodyPart - * for defintions + * for definitions * @since 1.0 */ public MultiPartEmail attach( @@ -371,7 +371,7 @@ * @param description A description for the attachment. * @return A MultiPartEmail. * @throws EmailException see javax.mail.internet.MimeBodyPart - * for defintions + * for definitions * @since 1.0 */ public MultiPartEmail attach( @@ -401,11 +401,11 @@ * * @param ds A DataSource interface for the file. * @param name The name field for the attachment. - * @param description A description for the attachement. + * @param description A description for the attachment. * @param disposition Either mixed or inline. * @return A MultiPartEmail. * @throws EmailException see javax.mail.internet.MimeBodyPart - * for defintions + * for definitions * @since 1.0 */ public MultiPartEmail attach( Modified: jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/SimpleEmail.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/SimpleEmail.java?rev=225592&r1=225591&r2=225592&view=diff ============================================================================== --- jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/SimpleEmail.java (original) +++ jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/SimpleEmail.java Wed Jul 27 12:53:25 2005 @@ -38,7 +38,7 @@ * @param msg A String. * @return An Email. * @throws EmailException see javax.mail.internet.MimeBodyPart - * for defintions + * for definitions * @since 1.0 */ public Email setMsg(String msg) throws EmailException --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org