The default implementation of the
org.apache.commons.fileupload.FileItem FileItem interface.
After retrieving an instance of this class from a
org.apache.commons.fileupload.DiskFileUpload DiskFileUpload instance (see
org.apache.commons.fileupload.DiskFileUpload.parseRequest(javax.servlet.http.HttpServletRequest) ), you may
either request all contents of file at once using
DiskFileItem.get() or
request an
java.io.InputStream InputStream with
DiskFileItem.getInputStream() and process the file without attempting to load
it into memory, which may come handy with large files.
author: Rafal Krzewski author: Sean Legassick author: Jason van Zyl author: John McNally author: Martin Cooper author: Sean C. |