commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
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 GMT
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.
  *
  * <p>This class also inherits from MultiPartEmail, so it is easy to
- * add attachents to the email.
+ * add attachments to the email.
  *
  * <p>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.
  *
  * <p>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


Mime
View raw message