javazoom.upload.parsing
Class CfuFileItemFactory
java.lang.Object
org.apache.commons.fileupload.DefaultFileItemFactory
javazoom.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.
Fields inherited from class org.apache.commons.fileupload.DefaultFileItemFactory |
DEFAULT_SIZE_THRESHOLD |
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 |
CfuFileItemFactory
public CfuFileItemFactory()
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()