|
Weaver 3.1.0a1-D1 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The WeaverUploadedFile represents a file uploaded by the user's browser. This interface represents a file uploaded by the user via multipart/form-data html form.
Method Summary | |
String |
getContentType()
Gets the content type (MIME type) of the uploaded file. |
File |
getFile()
Gets a File object on to the uploaded file. |
boolean |
getKeep()
Determines wheter this file is flagged for automatic deletion once the current request has been processed. |
String |
getName()
Gets the name of the uploaded file as it appeared on the remove file system. |
void |
setKeep(boolean keep)
Sest whether this file should be automatically deleted once the current request has been processed. |
String |
toString()
Gets a string representation of the object (this is NOT file contents) |
Method Detail |
public boolean getKeep()
public String getName()
public void setKeep(boolean keep)
keep
- Whether to kepp the file.public File getFile()
public String getContentType()
public String toString()
|
Copyright ©Paul Harvey | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |