play.data
Class Upload
java.lang.Object
play.data.Upload
- Direct Known Subclasses:
- FileUpload, MemoryUpload
public abstract class Upload
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Upload
public Upload()
asBytes
public abstract byte[] asBytes()
asStream
public abstract InputStream asStream()
getContentType
public abstract String getContentType()
getFileName
public abstract String getFileName()
getFieldName
public abstract String getFieldName()
getSize
public abstract Long getSize()
isInMemory
public abstract boolean isInMemory()
asFile
public abstract File asFile()
asFile
public abstract File asFile(File file)
asFile
public abstract File asFile(String name)
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly