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