| org.apache.commons.fileupload.ProgressListener
ProgressListener | public interface ProgressListener (Code) | | The
ProgressListener may be used to display a progress bar
or do stuff like that.
|
Method Summary | |
void | update(long pBytesRead, long pContentLength, int pItems) Updates the listeners status information.
Parameters: pBytesRead - The total number of bytes, which have been readso far. Parameters: pContentLength - The total number of bytes, which are beingread. |
update | void update(long pBytesRead, long pContentLength, int pItems)(Code) | | Updates the listeners status information.
Parameters: pBytesRead - The total number of bytes, which have been readso far. Parameters: pContentLength - The total number of bytes, which are beingread. May be -1, if this number is unknown. Parameters: pItems - The number of the field, which is currently beingread. (0 = no item so far, 1 = first item is being read, ...) |
|
|