commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sul...@apache.org
Subject cvs commit: jakarta-commons/fileupload/src/java/org/apache/commons/fileupload DefaultFileItem.java
Date Fri, 07 Mar 2003 23:29:27 GMT
sullis      2003/03/07 15:29:27

  Modified:    fileupload/src/java/org/apache/commons/fileupload
                        DefaultFileItem.java
  Log:
  added javadoc comments
  updated copyright year for 2003
  CVS: ----------------------------------------------------------------------
  CVS: PR:
  CVS:   If this change addresses a PR in the problem report tracking
  CVS:   database, then enter the PR number(s) here.
  CVS: Obtained from:
  CVS:   If this change has been taken from another system, such as NCSA,
  CVS:   then name the system in this line, otherwise delete it.
  CVS: Submitted by:
  CVS:   If this code has been contributed to Apache by someone else; i.e.,
  CVS:   they sent us a patch or a new module, then include their name/email
  CVS:   address here. If this is your work then delete this line.
  CVS: Reviewed by:
  CVS:   If we are doing pre-commit code reviews and someone else has
  CVS:   reviewed your changes, include their name(s) here.
  CVS:   If you have not had it reviewed then delete this line.
  
  Revision  Changes    Path
  1.16      +25 -6     jakarta-commons/fileupload/src/java/org/apache/commons/fileupload/DefaultFileItem.java
  
  Index: DefaultFileItem.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/fileupload/src/java/org/apache/commons/fileupload/DefaultFileItem.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- DefaultFileItem.java	1 Mar 2003 21:17:44 -0000	1.15
  +++ DefaultFileItem.java	7 Mar 2003 23:29:26 -0000	1.16
  @@ -7,7 +7,7 @@
    *
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 2001-2002 The Apache Software Foundation.  All rights
  + * Copyright (c) 2001-2003 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -77,7 +77,7 @@
   
   
   /**
  - * <p> The default mplementation of the
  + * <p> The default implementation of the
    * {@link org.apache.commons.fileupload.FileItem FileItem} interface.
    *
    * <p> After retrieving an instance of this class from a {@link
  @@ -94,6 +94,7 @@
    * @author <a href="mailto:jvanzyl@apache.org">Jason van Zyl</a>
    * @author <a href="mailto:jmcnally@apache.org">John McNally</a>
    * @author <a href="mailto:martinc@apache.org">Martin Cooper</a>
  + * @author Sean C. Sullivan
    *
    * @version $Id$
    */
  @@ -158,6 +159,9 @@
   
       /**
        * Default constructor.
  +     * 
  +     * @see #DefaultFileItem(String, String)
  +     * 
        */
       public DefaultFileItem()
       {
  @@ -173,6 +177,9 @@
        * @param fileName The original filename in the user's filesystem.
        * @param contentType The content type passed by the browser or
        * <code>null</code> if not defined.
  +     * 
  +     * @see #DefaultFileItem()
  +     * 
        */
       protected DefaultFileItem(String fileName, String contentType)
       {
  @@ -483,6 +490,9 @@
        * this file item.
        *
        * @return The name of the form field.
  +     * 
  +     * @see #setFieldName(String)
  +     * 
        */
       public String getFieldName()
       {
  @@ -494,6 +504,9 @@
        * Sets the field name used to reference this file item.
        *
        * @param fieldName The name of the form field.
  +     * 
  +     * @see #getFieldName()
  +     * 
        */
       public void setFieldName(String fieldName)
       {
  @@ -507,6 +520,9 @@
        *
        * @return <code>true</code> if the instance represents a simple form
        *         field; <code>false</code> if it represents an uploaded file.
  +     * 
  +     * @see #setIsFormField(boolean)
  +     * 
        */
       public boolean isFormField()
       {
  @@ -520,6 +536,9 @@
        *
        * @param state <code>true</code> if the instance represents a simple form
        *              field; <code>false</code> if it represents an uploaded
file.
  +     * 
  +     * @see #isFormField()
  +     * 
        */
       public void setIsFormField(boolean state)
       {
  
  
  

---------------------------------------------------------------------
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