| Constructor and Description |
|---|
FileUpload() |
FileUpload(FileItem fileItem) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
asBytes() |
java.io.File |
asFile() |
java.io.File |
asFile(java.io.File file) |
java.io.File |
asFile(java.lang.String name) |
java.io.InputStream |
asStream() |
java.lang.String |
getContentType() |
java.lang.String |
getFieldName() |
java.lang.String |
getFileName() |
java.lang.Long |
getSize() |
boolean |
isInMemory() |
public FileUpload()
public FileUpload(FileItem fileItem)
public java.io.File asFile(java.io.File file)
public java.io.File asFile(java.lang.String name)
public java.lang.String getContentType()
getContentType in interface Uploadpublic java.lang.String getFileName()
getFileName in interface Uploadpublic java.lang.String getFieldName()
getFieldName in interface Uploadpublic boolean isInMemory()
isInMemory in interface UploadGuillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly