|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.evanmclean.evlib.commons.fileupload.FileUploadUtils
public final class FileUploadUtils
Misc handy functions for the Apache Commons File Upload package.
Method Summary | |
---|---|
static FileItem[] |
arrItems(List<?> file_items)
Remaps the file items returned by FileUpload.parseRequest into an array. |
static void |
delete(FileItem[] file_items)
Call FileItem.delete for all items that have been stored on disk. |
static void |
delete(List<?> file_items)
Call FileItem.delete for all items that have been stored on disk. |
static void |
delete(Map<String,FileItem[]> file_items)
Call FileItem.delete for all items that have been stored on disk. |
static Map<String,FileItem[]> |
mapItems(List<?> file_items)
Remaps the file items returned by FileUpload.parseRequest into a map based on the field names. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static FileItem[] arrItems(List<?> file_items)
file_items
-
public static void delete(FileItem[] file_items)
file_items
- public static void delete(List<?> file_items)
file_items
- public static void delete(Map<String,FileItem[]> file_items)
file_items
- public static Map<String,FileItem[]> mapItems(List<?> file_items)
file_items
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |