Class MonitoredDiskFileItem

java.lang.Object
org.apache.commons.fileupload.disk.DiskFileItem
ubic.gemma.web.controller.util.upload.MonitoredDiskFileItem
All Implemented Interfaces:
org.apache.commons.fileupload.FileItem, org.apache.commons.fileupload.FileItemHeadersSupport

public class MonitoredDiskFileItem extends org.apache.commons.fileupload.disk.DiskFileItem
Commons FileItem that uses a MonitoredOutputStream
Author:
Original : plosson, pavlidis
  • Field Summary

    Fields inherited from class org.apache.commons.fileupload.disk.DiskFileItem

    DEFAULT_CHARSET
  • Constructor Summary

    Constructors
    Constructor
    Description
    MonitoredDiskFileItem(String fieldName, String contentType, boolean isFormField, String fileName, int sizeThreshold, File repository, OutputStreamListener listener)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class org.apache.commons.fileupload.disk.DiskFileItem

    delete, finalize, get, getCharSet, getContentType, getDefaultCharset, getFieldName, getHeaders, getInputStream, getName, getSize, getStoreLocation, getString, getString, getTempFile, isFormField, isInMemory, setDefaultCharset, setFieldName, setFormField, setHeaders, toString, write

    Methods inherited from class java.lang.Object

    clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • getOutputStream

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