public interface FileUploadReName
开发人员: renhui
开发时间: 2013-5-27
Modifier and Type | Method and Description |
---|---|
File |
getRepository()
获取文件上传的临时目录
|
String |
reName(String localFileName,
javax.servlet.http.HttpServletRequest request)
对上传过来的本地文件进行重新命名,返回的是重新命名后的文件全路径
|
void |
setRepository(File repository)
设置文件上传的临时目录
|
String reName(String localFileName, javax.servlet.http.HttpServletRequest request)
localFileName
- request
- File getRepository()
void setRepository(File repository)
repository
- Copyright © 2006–2018 TinyGroup. All rights reserved.