Constructor and Description |
---|
MemoryUpload(FileItem fileItem) |
Modifier and Type | Method and Description |
---|---|
byte[] |
asBytes() |
File |
asFile() |
InputStream |
asStream() |
String |
getContentType() |
String |
getFieldName() |
String |
getFileName() |
Long |
getSize() |
boolean |
isInMemory() |
public MemoryUpload(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