Update of 
/var/cvs/contributions/CMSContainer_Portlets/portlets-jforum/src/java/net/jforum/util/legacy/commons/fileupload/servlet
In directory 
james.mmbase.org:/tmp/cvs-serv8451/portlets-jforum/src/java/net/jforum/util/legacy/commons/fileupload/servlet

Modified Files:
        ServletFileUpload.java 
Log Message:
CMSC-212 first version checkin .


See also: 
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Portlets/portlets-jforum/src/java/net/jforum/util/legacy/commons/fileupload/servlet
See also: http://www.mmbase.org/jira/browse/CMSC-212


Index: ServletFileUpload.java
===================================================================
RCS file: 
/var/cvs/contributions/CMSContainer_Portlets/portlets-jforum/src/java/net/jforum/util/legacy/commons/fileupload/servlet/ServletFileUpload.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- ServletFileUpload.java      17 Jan 2008 07:48:25 -0000      1.1
+++ ServletFileUpload.java      17 Jan 2008 09:17:41 -0000      1.2
@@ -25,14 +25,14 @@
 
 /**
  * <p>High level API for processing file uploads.</p>
- *
+ * <p/>
  * <p>This class handles multiple files per single HTML widget, sent using
  * <code>multipart/mixed</code> encoding type, as specified by
  * <a href="http://www.ietf.org/rfc/rfc1867.txt";>RFC 1867</a>.  Use [EMAIL 
PROTECTED]
  * #parseRequest(HttpServletRequest)} to acquire a list of [EMAIL PROTECTED]
  * org.apache.commons.fileupload.FileItem}s associated with a given HTML
  * widget.</p>
- *
+ * <p/>
  * <p>How the data for individual parts is stored is determined by the factory
  * used to create them; a given part may be in memory, on disk, or somewhere
  * else.</p>
@@ -43,14 +43,12 @@
  * @author <a href="mailto:[EMAIL PROTECTED]">John McNally</a>
  * @author <a href="mailto:[EMAIL PROTECTED]">Martin Cooper</a>
  * @author Sean C. Sullivan
- *
- * @version $Id: ServletFileUpload.java,v 1.1 2008/01/17 07:48:25 mguo Exp $
+ * @version $Id: ServletFileUpload.java,v 1.2 2008/01/17 09:17:41 mguo Exp $
  */
 public class ServletFileUpload extends FileUpload {
 
     // ---------------------------------------------------------- Class methods
 
-
     /**
      * Utility method that determines whether the request contains multipart
      * content.
@@ -71,7 +69,6 @@
     //            new ServletRequestContext(request));
     //}
 
-
     // ----------------------------------------------------------- Constructors
 
 
@@ -83,21 +80,18 @@
      * @see #FileUpload(FileItemFactory)
      */
     public ServletFileUpload() {
-        super();
+        super(null);
     }
 
 
     /**
      * Constructs an instance of this class which uses the supplied factory to
      * create <code>FileItem</code> instances.
-     *
-     * @see #FileUpload()
      */
     public ServletFileUpload(FileItemFactory fileItemFactory) {
         super(fileItemFactory);
     }
 
-
     // --------------------------------------------------------- Public methods
 
 
@@ -106,11 +100,9 @@
      * compliant <code>multipart/form-data</code> stream.
      *
      * @param request The servlet request to be parsed.
-     *
      * @return A list of <code>FileItem</code> instances parsed from the
      *         request, in the order that they were transmitted.
-     *
-     * @exception FileUploadException if there are problems reading/parsing
+     * @throws FileUploadException if there are problems reading/parsing
      *                                the request or storing files.
      */
     public List /* FileItem */ parseRequest(HttpServletRequest request)
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to