quintonm    2003/03/09 16:35:18

  Modified:    email/src/java/org/apache/commons/mail EmailAttachment.java
  Log:
  Moved package declaration to the first line of the file.
  
  Updated javadocs for setPath()
  
  Revision  Changes    Path
  1.3       +9 -4      
jakarta-commons-sandbox/email/src/java/org/apache/commons/mail/EmailAttachment.java
  
  Index: EmailAttachment.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons-sandbox/email/src/java/org/apache/commons/mail/EmailAttachment.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- EmailAttachment.java      19 Jan 2003 20:06:17 -0000      1.2
  +++ EmailAttachment.java      10 Mar 2003 00:35:18 -0000      1.3
  @@ -1,3 +1,5 @@
  +package org.apache.commons.mail;
  +
   /* ====================================================================
    * The Apache Software License, Version 1.1
    *
  @@ -51,7 +53,6 @@
    * information on the Apache Software Foundation, please see
    * <http://www.apache.org/>.
    */
  -package org.apache.commons.mail;
   
   import java.net.URL;
   
  @@ -72,7 +73,7 @@
       /** The description of this attachment. */
       private String description = "";
   
  -    /** The full path to this attachment (ie c:/path/to/file.jpg). */
  +    /** The path to this attachment (ie c:/path/to/file.jpg). */
       private String path = "";
   
       /** The HttpURI where the file can be got. */
  @@ -152,7 +153,11 @@
       }
   
       /**
  -     * Set the path.
  +     * Set the path to the attachment.  The path can be absolute or relative
  +     * and should include the filename.
  +     * <p>
  +     * Example: /home/user/images/image.jpg<br>
  +     * Example: images/image.jpg
        *
        * @param path A String.
        */
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to