public class DiskFileItemFactory
extends org.apache.commons.fileupload.disk.DiskFileItemFactory
keepFormFieldInMemory
参数。Constructor and Description |
---|
DiskFileItemFactory() |
Modifier and Type | Method and Description |
---|---|
org.apache.commons.fileupload.FileItem |
createItem(String fieldName,
String contentType,
boolean isFormField,
String fileName) |
FileUploadReName |
getRename() |
javax.servlet.http.HttpServletRequest |
getRequest() |
boolean |
isKeepFormFieldInMemory() |
boolean |
isSaveInFile() |
boolean |
isTemporary() |
void |
setKeepFormFieldInMemory(boolean keepFormFieldInMemory) |
void |
setRename(FileUploadReName rename) |
void |
setRequest(javax.servlet.http.HttpServletRequest request) |
void |
setSaveInFile(boolean saveInFile) |
void |
setTemporary(boolean temporary) |
public FileUploadReName getRename()
public void setRename(FileUploadReName rename)
public boolean isKeepFormFieldInMemory()
public void setKeepFormFieldInMemory(boolean keepFormFieldInMemory)
public javax.servlet.http.HttpServletRequest getRequest()
public void setRequest(javax.servlet.http.HttpServletRequest request)
public boolean isTemporary()
public void setTemporary(boolean temporary)
public org.apache.commons.fileupload.FileItem createItem(String fieldName, String contentType, boolean isFormField, String fileName)
createItem
in interface org.apache.commons.fileupload.FileItemFactory
createItem
in class org.apache.commons.fileupload.disk.DiskFileItemFactory
public boolean isSaveInFile()
public void setSaveInFile(boolean saveInFile)
Copyright © 2006–2018 TinyGroup. All rights reserved.