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/disk DiskFileItem.java
Date Wed, 08 Dec 2004 02:59:02 GMT
sullis      2004/12/07 18:59:02

  Modified:    fileupload/src/java/org/apache/commons/fileupload/disk
                        DiskFileItem.java
  Log:
  added toString() method
  
  Revision  Changes    Path
  1.2       +13 -1     jakarta-commons/fileupload/src/java/org/apache/commons/fileupload/disk/DiskFileItem.java
  
  Index: DiskFileItem.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/fileupload/src/java/org/apache/commons/fileupload/disk/DiskFileItem.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- DiskFileItem.java	31 Oct 2004 05:21:43 -0000	1.1
  +++ DiskFileItem.java	8 Dec 2004 02:59:02 -0000	1.2
  @@ -595,5 +595,17 @@
           }
           return id;
       }
  +    
  +    public String toString() {
  +    	return "name=" + this.getName()
  +			+ ", StoreLocation=" 
  +			+ String.valueOf(this.getStoreLocation())
  +			+ ", size="
  +			+ this.getSize()
  +			+ "bytes, "
  +			+ "isFormField=" + isFormField()
  +			+ ", FieldName="
  +			+ this.getFieldName();
  +    }
   
   }
  
  
  

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