Class MonitoredDiskFileItemFactory

  • All Implemented Interfaces:
    org.apache.commons.fileupload.FileItemFactory

    public class MonitoredDiskFileItemFactory
    extends org.apache.commons.fileupload.disk.DiskFileItemFactory
    Author:
    Original : plosson on 05-janv.-2006 10:46:33 - Last modified by Author: plosson on Date: 2006/01/05 10:09:38, pavlidis
    • Constructor Detail

      • MonitoredDiskFileItemFactory

        public MonitoredDiskFileItemFactory​(int sizeThreshold,
                                            File repository,
                                            OutputStreamListener listener)
      • MonitoredDiskFileItemFactory

        public MonitoredDiskFileItemFactory​(OutputStreamListener listener)
    • Method Detail

      • createItem

        public org.apache.commons.fileupload.FileItem createItem​(String fieldName,
                                                                 String contentType,
                                                                 boolean isFormField,
                                                                 String fileName)
        Specified by:
        createItem in interface org.apache.commons.fileupload.FileItemFactory
        Overrides:
        createItem in class org.apache.commons.fileupload.disk.DiskFileItemFactory