org.mmbase.datatypes.handlers.html.upload
Class MonitoredDiskFileItemFactory

java.lang.Object
  extended by org.apache.commons.fileupload.disk.DiskFileItemFactory
      extended by org.mmbase.datatypes.handlers.html.upload.MonitoredDiskFileItemFactory
All Implemented Interfaces:
FileItemFactory

public class MonitoredDiskFileItemFactory
extends DiskFileItemFactory

Since:
MMBase-1.9.2
Version:
$Id: MonitoredDiskFileItemFactory.java 39074 2009-10-12 13:02:13Z jkoster $
Author:
Pierre-Alexandre Losson, Michiel Meeuwissen (adapted for MMBase)

Field Summary
 
Fields inherited from class org.apache.commons.fileupload.disk.DiskFileItemFactory
DEFAULT_SIZE_THRESHOLD
 
Constructor Summary
MonitoredDiskFileItemFactory(int sizeThreshold, File repository, OutputStreamListener listener)
           
MonitoredDiskFileItemFactory(OutputStreamListener listener)
           
 
Method Summary
 FileItem createItem(String fieldName, String contentType, boolean isFormField, String fileName)
           
 
Methods inherited from class org.apache.commons.fileupload.disk.DiskFileItemFactory
getFileCleaningTracker, getRepository, getSizeThreshold, setFileCleaningTracker, setRepository, setSizeThreshold
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MonitoredDiskFileItemFactory

public MonitoredDiskFileItemFactory(OutputStreamListener listener)

MonitoredDiskFileItemFactory

public MonitoredDiskFileItemFactory(int sizeThreshold,
                                    File repository,
                                    OutputStreamListener listener)
Method Detail

createItem

public FileItem createItem(String fieldName,
                           String contentType,
                           boolean isFormField,
                           String fileName)
Specified by:
createItem in interface FileItemFactory
Overrides:
createItem in class DiskFileItemFactory


MMBase 2.0-SNAPSHOT - null