|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.slim3.struts.util.UploadUtil
public final class UploadUtil
A utility for file upload.
| Method Summary | |
|---|---|
static boolean |
checkSizeLimit()
Checks if the uploaded data do not exceed size limit. |
static void |
write(String path,
FormFile formFile)
Writes uploaded data into the file specified by path. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean checkSizeLimit()
public static void write(String path,
FormFile formFile)
path - the file pathformFile - uploaded data
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||