Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.base.action.multipart
Class MonitoredDiskFileItem

java.lang.Object
  extended by org.apache.commons.fileupload.disk.DiskFileItem
      extended by com.jivesoftware.base.action.multipart.MonitoredDiskFileItem
All Implemented Interfaces:
java.io.Serializable, org.apache.commons.fileupload.FileItem

public class MonitoredDiskFileItem
extends org.apache.commons.fileupload.disk.DiskFileItem

An extension of the DiskFileItem class which allows for monitoring of the upload as it progresses.

See Also:
MonitoredOutputStream, Serialized Form

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

Constructor Detail

MonitoredDiskFileItem

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

getOutputStream

public java.io.OutputStream getOutputStream()
                                     throws java.io.IOException
Specified by:
getOutputStream in interface org.apache.commons.fileupload.FileItem
Overrides:
getOutputStream in class org.apache.commons.fileupload.disk.DiskFileItem
Throws:
java.io.IOException

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.