|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CustomFormFile
Method Summary | |
---|---|
void |
write(java.io.File file)
A convenience method to write an uploaded item to disk. |
Methods inherited from interface org.apache.struts.upload.FormFile |
---|
destroy, getContentType, getFileData, getFileName, getFileSize, getInputStream, setContentType, setFileName, setFileSize |
Method Detail |
---|
void write(java.io.File file) throws java.lang.Exception
This method is not guaranteed to succeed if called more than once for the same item. This allows a particular implementation to use, for example, file renaming, where possible, rather than copying all of the underlying data, thus gaining a significant performance benefit.
file
- The File
into which the uploaded item should
be stored.
java.lang.Exception
- if an error occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |