|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 FileRenamePolicy 的软件包 | |
|---|---|
| com.oreilly.servlet | |
| com.oreilly.servlet.multipart | |
| com.oreilly.servlet 中 FileRenamePolicy 的使用 |
|---|
| 参数类型为 FileRenamePolicy 的 com.oreilly.servlet 中的构造方法 | |
|---|---|
MultipartRequest(javax.servlet.http.HttpServletRequest request,
String saveDirectory,
int maxPostSize,
FileRenamePolicy policy)
Constructs a new MultipartRequest to handle the specified request, saving any uploaded files to the given directory, and limiting the upload size to the specified length. |
|
MultipartRequest(javax.servlet.http.HttpServletRequest request,
String saveDirectory,
int maxPostSize,
String encoding,
FileRenamePolicy policy)
Constructs a new MultipartRequest to handle the specified request, saving any uploaded files to the given directory, and limiting the upload size to the specified length. |
|
| com.oreilly.servlet.multipart 中 FileRenamePolicy 的使用 |
|---|
| 实现 FileRenamePolicy 的 com.oreilly.servlet.multipart 中的类 | |
|---|---|
class |
DefaultFileRenamePolicy
Implements a renaming policy that adds increasing integers to the body of any file that collides. |
| 参数类型为 FileRenamePolicy 的 com.oreilly.servlet.multipart 中的方法 | |
|---|---|
void |
FilePart.setRenamePolicy(FileRenamePolicy policy)
Puts in place the specified policy for handling file name collisions. |
|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||