public class DefaultUploadedFile extends Object implements UploadedFile, Serializable
| Constructor and Description |
|---|
DefaultUploadedFile() |
DefaultUploadedFile(org.apache.commons.fileupload.FileItem fileItem) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getContents() |
String |
getContentType() |
String |
getFileName() |
InputStream |
getInputstream() |
long |
getSize() |
public DefaultUploadedFile()
public DefaultUploadedFile(org.apache.commons.fileupload.FileItem fileItem)
public String getFileName()
getFileName in interface UploadedFilepublic InputStream getInputstream() throws IOException
getInputstream in interface UploadedFileIOExceptionpublic long getSize()
getSize in interface UploadedFilepublic byte[] getContents()
getContents in interface UploadedFilepublic String getContentType()
getContentType in interface UploadedFileCopyright © 2014. All rights reserved.