站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.4 API 英文版文档

UploadedFile - JBOSS Portal 2.4 API 英文版文档


org.jboss.portlet.forums.model
Interface UploadedFile

All Known Implementing Classes:
UploadedFileImpl

public interface UploadedFile

An uploaded file.


Method Summary
 byte[] getByteContent()
           
 java.sql.Blob getContent()
           
 java.lang.String getContentType()
           
 java.lang.String getName()
           
 long getSize()
           
 void setByteContent(byte[] bytes)
           
 void setContent(java.sql.Blob blob)
           
 void setContentType(java.lang.String type)
           
 void setName(java.lang.String name)
           
 void setSize(long size)
           
 

Method Detail

getContentType

public java.lang.String getContentType()

setContentType

public void setContentType(java.lang.String type)

getByteContent

public byte[] getByteContent()

setByteContent

public void setByteContent(byte[] bytes)

getContent

public java.sql.Blob getContent()

setContent

public void setContent(java.sql.Blob blob)

getSize

public long getSize()

setSize

public void setSize(long size)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)