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

java.lang.Object
  extended by org.apache.commons.fileupload.disk.DiskFileItem
      extended by org.mmbase.datatypes.handlers.html.upload.MonitoredDiskFileItem
All Implemented Interfaces:
Serializable, FileItem, FileItemHeadersSupport

public class MonitoredDiskFileItem
extends DiskFileItem

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

Field Summary
 
Fields inherited from class org.apache.commons.fileupload.disk.DiskFileItem
DEFAULT_CHARSET
 
Constructor Summary
MonitoredDiskFileItem(String fieldName, String contentType, boolean isFormField, String fileName, int sizeThreshold, File repository, OutputStreamListener listener)
           
 
Method Summary
 OutputStream getOutputStream()
           
 
Methods inherited from class org.apache.commons.fileupload.disk.DiskFileItem
delete, finalize, get, getCharSet, getContentType, getFieldName, getHeaders, getInputStream, getName, getSize, getStoreLocation, getString, getString, getTempFile, isFormField, isInMemory, setFieldName, setFormField, setHeaders, toString, write
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MonitoredDiskFileItem

public MonitoredDiskFileItem(String fieldName,
                             String contentType,
                             boolean isFormField,
                             String fileName,
                             int sizeThreshold,
                             File repository,
                             OutputStreamListener listener)
Method Detail

getOutputStream

public OutputStream getOutputStream()
                             throws IOException
Specified by:
getOutputStream in interface FileItem
Overrides:
getOutputStream in class DiskFileItem
Throws:
IOException


MMBase 2.0-SNAPSHOT - null