public class ProgressMonitorFileItemFactory
extends org.apache.commons.fileupload.disk.DiskFileItemFactory
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
REVISION  | 
| Constructor and Description | 
|---|
ProgressMonitorFileItemFactory(ProgressMonitorStatus status)
Builds a new ProgressMonitorFileItemFactory and extract content-length. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
org.apache.commons.fileupload.FileItem | 
createItem(java.lang.String fieldName,
          java.lang.String contentType,
          boolean isFormField,
          java.lang.String fileName)
Create the convenient FileItem 
 | 
public static final java.lang.String REVISION
public ProgressMonitorFileItemFactory(ProgressMonitorStatus status)
status - the progress statuspublic org.apache.commons.fileupload.FileItem createItem(java.lang.String fieldName,
                                                         java.lang.String contentType,
                                                         boolean isFormField,
                                                         java.lang.String fileName)
createItem in interface org.apache.commons.fileupload.FileItemFactorycreateItem in class org.apache.commons.fileupload.disk.DiskFileItemFactoryfieldName - the field namecontentType - the content typeisFormField - true if the field is not an uploadfileName - the file nameDiskFileItemFactory.createItem(java.lang.String, java.lang.String, boolean, java.lang.String)Copyright © 2001-2018 Jalios SA. All Rights Reserved.