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 |
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.Vector |
getListeners()
|
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 |
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)
- Specified by:
createItem
in interface org.apache.commons.fileupload.FileItemFactory
- Overrides:
createItem
in class org.apache.commons.fileupload.DefaultFileItemFactory