public class Upload
extends java.lang.Object
Title: 集成化信息平台 - 上传组件
Description: 集成化信息平台,包括OA、ERP、CRM、HRM等的综合性平台
Company:首亨软件(重庆)有限公司
Author:江兴春
构造器和说明 |
---|
Upload(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
构造函数
|
限定符和类型 | 方法和说明 |
---|---|
long |
getMaxSize() |
java.lang.String |
getRepositoryPath() |
int |
getThresholdSize() |
UploadFile[] |
getUploadFiles()
得到上传文件数组
|
UploadRequest |
getUploadRequest()
得到上传请求对象
|
void |
setMaxSize(long maxSize) |
void |
setRepositoryPath(java.lang.String repositoryPath) |
void |
setThresholdSize(int thresholdSize) |
public Upload(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
request
- HttpServletRequestresponse
- HttpServletResponsepublic UploadFile[] getUploadFiles() throws org.apache.commons.fileupload.FileUploadException
org.apache.commons.fileupload.FileUploadException
- FileUploadExceptionpublic UploadRequest getUploadRequest() throws org.apache.commons.fileupload.FileUploadException
org.apache.commons.fileupload.FileUploadException
- FileUploadExceptionpublic long getMaxSize()
public java.lang.String getRepositoryPath()
public void setMaxSize(long maxSize)
public void setRepositoryPath(java.lang.String repositoryPath)
public int getThresholdSize()
public void setThresholdSize(int thresholdSize)