commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1453214 - /commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/FileItem.java
Date Wed, 06 Mar 2013 08:48:36 GMT
Author: simonetripodi
Date: Wed Mar  6 08:48:36 2013
New Revision: 1453214

URL: http://svn.apache.org/r1453214
Log:
trivial: code format, no functional modification

Modified:
    commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/FileItem.java

Modified: commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/FileItem.java
URL: http://svn.apache.org/viewvc/commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/FileItem.java?rev=1453214&r1=1453213&r2=1453214&view=diff
==============================================================================
--- commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/FileItem.java
(original)
+++ commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/FileItem.java
Wed Mar  6 08:48:36 2013
@@ -52,10 +52,8 @@ import java.io.UnsupportedEncodingExcept
  */
 public interface FileItem extends Serializable, FileItemHeadersSupport {
 
-
     // ------------------------------- Methods from javax.activation.DataSource
 
-
     /**
      * Returns an {@link java.io.InputStream InputStream} that can be
      * used to retrieve the contents of the file.
@@ -67,7 +65,6 @@ public interface FileItem extends Serial
      */
     InputStream getInputStream() throws IOException;
 
-
     /**
      * Returns the content type passed by the browser or <code>null</code> if
      * not defined.
@@ -77,7 +74,6 @@ public interface FileItem extends Serial
      */
     String getContentType();
 
-
     /**
      * Returns the original filename in the client's filesystem, as provided by
      * the browser (or other client software). In most cases, this will be the
@@ -92,10 +88,8 @@ public interface FileItem extends Serial
      */
     String getName();
 
-
     // ------------------------------------------------------- FileItem methods
 
-
     /**
      * Provides a hint as to whether or not the file contents will be read
      * from memory.
@@ -105,7 +99,6 @@ public interface FileItem extends Serial
      */
     boolean isInMemory();
 
-
     /**
      * Returns the size of the file item.
      *
@@ -113,7 +106,6 @@ public interface FileItem extends Serial
      */
     long getSize();
 
-
     /**
      * Returns the contents of the file item as an array of bytes.
      *
@@ -121,7 +113,6 @@ public interface FileItem extends Serial
      */
     byte[] get();
 
-
     /**
      * Returns the contents of the file item as a String, using the specified
      * encoding.  This method uses {@link #get()} to retrieve the
@@ -136,7 +127,6 @@ public interface FileItem extends Serial
      */
     String getString(String encoding) throws UnsupportedEncodingException;
 
-
     /**
      * Returns the contents of the file item as a String, using the default
      * character encoding.  This method uses {@link #get()} to retrieve the
@@ -146,7 +136,6 @@ public interface FileItem extends Serial
      */
     String getString();
 
-
     /**
      * A convenience method to write an uploaded item to disk. The client code
      * is not concerned with whether or not the item is stored in memory, or on
@@ -165,7 +154,6 @@ public interface FileItem extends Serial
      */
     void write(File file) throws Exception;
 
-
     /**
      * Deletes the underlying storage for a file item, including deleting any
      * associated temporary disk file. Although this storage will be deleted
@@ -175,7 +163,6 @@ public interface FileItem extends Serial
      */
     void delete();
 
-
     /**
      * Returns the name of the field in the multipart form corresponding to
      * this file item.
@@ -184,7 +171,6 @@ public interface FileItem extends Serial
      */
     String getFieldName();
 
-
     /**
      * Sets the field name used to reference this file item.
      *
@@ -192,7 +178,6 @@ public interface FileItem extends Serial
      */
     void setFieldName(String name);
 
-
     /**
      * Determines whether or not a <code>FileItem</code> instance represents
      * a simple form field.
@@ -202,7 +187,6 @@ public interface FileItem extends Serial
      */
     boolean isFormField();
 
-
     /**
      * Specifies whether or not a <code>FileItem</code> instance represents
      * a simple form field.
@@ -212,7 +196,6 @@ public interface FileItem extends Serial
      */
     void setFormField(boolean state);
 
-
     /**
      * Returns an {@link java.io.OutputStream OutputStream} that can
      * be used for storing the contents of the file.



Mime
View raw message