play.data
类 MemoryUpload

java.lang.Object
  继承者 play.data.MemoryUpload
所有已实现的接口:
Upload

public class MemoryUpload
extends java.lang.Object
implements Upload


构造方法摘要
MemoryUpload(FileItem fileItem)
           
 
方法摘要
 byte[] asBytes()
           
 java.io.File asFile()
           
 java.io.InputStream asStream()
           
 java.lang.String getContentType()
           
 java.lang.String getFieldName()
           
 java.lang.String getFileName()
           
 java.lang.Long getSize()
           
 boolean isInMemory()
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

MemoryUpload

public MemoryUpload(FileItem fileItem)
方法详细信息

asFile

public java.io.File asFile()
指定者:
接口 Upload 中的 asFile

asBytes

public byte[] asBytes()
指定者:
接口 Upload 中的 asBytes

asStream

public java.io.InputStream asStream()
指定者:
接口 Upload 中的 asStream

getContentType

public java.lang.String getContentType()
指定者:
接口 Upload 中的 getContentType

getFileName

public java.lang.String getFileName()
指定者:
接口 Upload 中的 getFileName

getFieldName

public java.lang.String getFieldName()
指定者:
接口 Upload 中的 getFieldName

getSize

public java.lang.Long getSize()
指定者:
接口 Upload 中的 getSize

isInMemory

public boolean isInMemory()
指定者:
接口 Upload 中的 isInMemory


Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly