You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by st...@outerthought.org on 2003/09/28 00:00:03 UTC

[WIKI-UPDATE] FileUploadsWithCocoon Sun Sep 28 00:00:02 2003

Page: http://wiki.cocoondev.org/Wiki.jsp?page=FileUploadsWithCocoon , version: 23 on Sat Sep 27 21:51:38 2003 by 141.211.192.204

- FilePart is abstract, but has two concrete subclasses: [FilePartFile|http://cocoon.apache.org/2.0/apidocs/org/apache/cocoon/components/request/multipart/FilePartFile.html] and [FilePartArray|http://xml.apache.org/cocoon/apidocs/org/apache/cocoon/components/request/multipart/FilePartArray.html] which are the actual objects placed in the request as described above, depending on configuration options to be described below.  FilePartFile is a file already saved to disk (as above) and provides an additional method getFile(), not defined in FilePart, which returns the java.io.File object for the file on disk.  FilePartArray holds the contents of the uploaded file in a byte array in memory which will not persist after the request is serviced unless otherwise acted upon.
?                                                                                                                                                                                                       ^^^            ^^^^^^

+ FilePart is abstract, but has two concrete subclasses: [FilePartFile|http://cocoon.apache.org/2.0/apidocs/org/apache/cocoon/components/request/multipart/FilePartFile.html] and [FilePartArray|http://cocoon.apache.org/2.0/apidocs/org/apache/cocoon/components/request/multipart/FilePartArray.html] which are the actual objects placed in the request as described above, depending on configuration options to be described below.  FilePartFile is a file already saved to disk (as above) and provides an additional method getFile(), not defined in FilePart, which returns the java.io.File object for the file on disk.  FilePartArray holds the contents of the uploaded file in a byte array in memory which will not persist after the request is serviced unless otherwise acted upon.
?                                                                                                                                                                                                       ^^^^^^            ^^^