play.data
Class Upload
java.lang.Object
play.data.Upload
public class Upload
- extends java.lang.Object
Constructor Summary |
Upload(org.apache.commons.fileupload.FileItem fileItem)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Upload
public Upload(org.apache.commons.fileupload.FileItem fileItem)
asFile
public java.io.File asFile()
asFile
public java.io.File asFile(java.io.File file)
asFile
public java.io.File asFile(java.lang.String name)
asBytes
public byte[] asBytes()
asStream
public java.io.InputStream asStream()
getContentType
public java.lang.String getContentType()
getFileName
public java.lang.String getFileName()
getFieldName
public java.lang.String getFieldName()
getSize
public java.lang.Long getSize()
isInMemory
public boolean isInMemory()
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly