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 Upload
public String getFileName()
getFileName
in interface Upload
public String getFieldName()
getFieldName
in interface Upload
public boolean isInMemory()
isInMemory
in interface Upload
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly