public class DiskFileItem extends AbstractFileItem
DEFAULT_CHARSET, dfos
Constructor and Description |
---|
DiskFileItem(String fieldName,
String contentType,
boolean isFormField,
boolean saveInFile,
boolean temporary,
String fileName,
int sizeThreshold,
boolean keepFormFieldInMemory,
File repository,
javax.servlet.http.HttpServletRequest request,
FileUploadReName rename) |
Modifier and Type | Method and Description |
---|---|
protected void |
finalize()
Removes the file contents from the temporary storage.
|
boolean |
isTemporary() |
void |
setTemporary(boolean temporary) |
delete, get, getCharset, getContentType, getFieldName, getHeaders, getInputStream, getName, getOutputStream, getRepository, getSize, getStoreLocation, getString, getString, isFormField, isInMemory, setCharset, setFieldName, setFormField, setHeaders, toString, write
public DiskFileItem(String fieldName, String contentType, boolean isFormField, boolean saveInFile, boolean temporary, String fileName, int sizeThreshold, boolean keepFormFieldInMemory, File repository, javax.servlet.http.HttpServletRequest request, FileUploadReName rename)
Copyright © 2006–2018 TinyGroup. All rights reserved.