| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.fileupload.disk.DiskFileItem
com.jalios.jcms.upload.ProgressMonitorFileItem
public class ProgressMonitorFileItem
This class extends DiskFileItem to notify ProgressObserver of download status.
| Field Summary | |
|---|---|
| static String | REVISION | 
| Fields inherited from class org.apache.commons.fileupload.disk.DiskFileItem | 
|---|
| DEFAULT_CHARSET | 
| Constructor Summary | |
|---|---|
| ProgressMonitorFileItem(String fieldName,
                        String contentType,
                        boolean isFormField,
                        String fileName,
                        int sizeThreshold,
                        File repository) | |
| Method Summary | |
|---|---|
|  OutputStream | getOutputStream() | 
|  void | setObserver(ProgressObserver observer) | 
| Methods inherited from class org.apache.commons.fileupload.disk.DiskFileItem | 
|---|
| delete, finalize, get, getCharSet, getContentType, getFieldName, getHeaders, getInputStream, getName, getSize, getStoreLocation, getString, getString, getTempFile, isFormField, isInMemory, setFieldName, setFormField, setHeaders, toString, write | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
public static final String REVISION
| Constructor Detail | 
|---|
public ProgressMonitorFileItem(String fieldName,
                               String contentType,
                               boolean isFormField,
                               String fileName,
                               int sizeThreshold,
                               File repository)
| Method Detail | 
|---|
public void setObserver(ProgressObserver observer)
public OutputStream getOutputStream()
                             throws IOException
getOutputStream in interface org.apache.commons.fileupload.FileItemgetOutputStream in class org.apache.commons.fileupload.disk.DiskFileItemIOException| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||