Class StrutsUploadedFile
java.lang.Object
org.apache.struts2.dispatcher.multipart.StrutsUploadedFile
- All Implemented Interfaces:
- Serializable,- UploadedFile
- See Also:
- 
Method Details- 
length- Specified by:
- lengthin interface- UploadedFile
- Returns:
- size of the content of file/stream/array
 
- 
getName- Specified by:
- getNamein interface- UploadedFile
- Returns:
- a local name of the file
 
- 
isFilepublic boolean isFile()- Specified by:
- isFilein interface- UploadedFile
- Returns:
- indicates if this is a real file or maybe just in-memory stream
 
- 
deletepublic boolean delete()- Specified by:
- deletein interface- UploadedFile
- Returns:
- removes a local copy of the uploaded file/stream
 
- 
getAbsolutePath- Specified by:
- getAbsolutePathin interface- UploadedFile
- Returns:
- an absolute path of the file if possible
 
- 
getContent- Specified by:
- getContentin interface- UploadedFile
- Returns:
- content of the upload file
 
- 
getContentType- Specified by:
- getContentTypein interface- UploadedFile
- Returns:
- content type of the uploaded file
 
- 
getOriginalName- Specified by:
- getOriginalNamein interface- UploadedFile
- Returns:
- original file name from upload source
 
- 
getInputNameDescription copied from interface:UploadedFileRepresents a name of the input file, eg.: "myFile" in case of- Specified by:
- getInputNamein interface- UploadedFile
- Returns:
- name of the input file field
 
- 
toString
 
-