public class DigestFileItemFactory
extends org.apache.commons.fileupload.disk.DiskFileItemFactory
| Constructor and Description |
|---|
DigestFileItemFactory()
Constructs an unconfigured instance of this class.
|
DigestFileItemFactory(int sizeThreshold,
File repository)
Constructs a preconfigured instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.commons.fileupload.FileItem |
createItem(String fieldName,
String contentType,
boolean isFormField,
String fileName) |
public DigestFileItemFactory()
public DigestFileItemFactory(int sizeThreshold,
File repository)
sizeThreshold - The threshold, in bytes, below which items will be
retained in memory and above which they will be
stored as a file.repository - The data repository, which is the directory in
which files will be created, should the item size
exceed the threshold.public org.apache.commons.fileupload.FileItem createItem(String fieldName, String contentType, boolean isFormField, String fileName)
createItem in interface org.apache.commons.fileupload.FileItemFactorycreateItem in class org.apache.commons.fileupload.disk.DiskFileItemFactoryCopyright © 2000–2023 LOCKSS Program. All rights reserved.