Methods Summary |
---|
public java.lang.String[] | getContentType(java.lang.String fieldName)Returns the content type(s) of the file(s) associated with the specified field name
(as supplied by the client browser), or null if no files are associated with the
given field name.
|
public java.util.List | getErrors()Returns a list of error messages that may have occurred while processing the request.
If there are no errors, an empty list is returned. If the underlying implementation
(ie: pell, cos, jakarta, etc) cannot support providing these errors, an empty list is
also returned. This list of errors is repoted back to the
{@link MultiPartRequestWrapper}'s errors field.
|
public java.io.File[] | getFile(java.lang.String fieldName)Returns a {@link java.io.File} object for the filename specified or null if no files
are associated with the given field name.
|
public java.lang.String[] | getFileNames(java.lang.String fieldName)Returns a String[] of file names for files associated with the specified input field name
|
public java.util.Enumeration | getFileParameterNames()Returns an enumeration of the parameter names for uploaded files
|
public java.lang.String[] | getFilesystemName(java.lang.String fieldName)Returns the file system name(s) of files associated with the given field name or
null if no files are associated with the given field name.
|
public java.lang.String | getParameter(java.lang.String name)Returns the specified request parameter.
|
public java.util.Enumeration | getParameterNames()Returns an enumeration of String parameter names.
|
public java.lang.String[] | getParameterValues(java.lang.String name)Returns a list of all parameter values associated with a parameter name. If there is only
one parameter value per name the resulting array will be of length 1.
|
public void | parse(javax.servlet.http.HttpServletRequest request, java.lang.String saveDir)
|