javazoom.upload.parsing
Class CfuFileItemFactory

java.lang.Object
  extended byorg.apache.commons.fileupload.DefaultFileItemFactory
      extended byjavazoom.upload.parsing.CfuFileItemFactory
All Implemented Interfaces:
org.apache.commons.fileupload.FileItemFactory

public class CfuFileItemFactory
extends org.apache.commons.fileupload.DefaultFileItemFactory

This class extends CFU features to implement a custom FileItemFactory and pass UploadBean listeners to be notified.


Field Summary
 
Fields inherited from class org.apache.commons.fileupload.DefaultFileItemFactory
DEFAULT_SIZE_THRESHOLD
 
Constructor Summary
CfuFileItemFactory()
           
 
Method Summary
 org.apache.commons.fileupload.FileItem createItem(java.lang.String fieldName, java.lang.String contentType, boolean isFormField, java.lang.String fileName)
           
 int getCustom()
           
 java.util.List getFileItemHistory()
           
 java.util.Vector getListeners()
           
 void resetFileItemHistory()
           
 void setCustom(int c)
           
 void setListeners(java.util.Vector listeners)
           
 
Methods inherited from class org.apache.commons.fileupload.DefaultFileItemFactory
getRepository, getSizeThreshold, setRepository, setSizeThreshold
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CfuFileItemFactory

public CfuFileItemFactory()
Method Detail

setCustom

public void setCustom(int c)

getCustom

public int getCustom()

setListeners

public void setListeners(java.util.Vector listeners)

getListeners

public java.util.Vector getListeners()

createItem

public org.apache.commons.fileupload.FileItem createItem(java.lang.String fieldName,
                                                         java.lang.String contentType,
                                                         boolean isFormField,
                                                         java.lang.String fileName)

getFileItemHistory

public java.util.List getFileItemHistory()

resetFileItemHistory

public void resetFileItemHistory()