net.sourceforge.fluxion.pussycat.util
Class FileUploadListener

java.lang.Object
  extended by net.sourceforge.fluxion.pussycat.util.FileUploadListener
All Implemented Interfaces:
org.apache.commons.fileupload.ProgressListener

public class FileUploadListener
extends java.lang.Object
implements org.apache.commons.fileupload.ProgressListener

This is a File Upload Listener that is used by Apache Commons File Upload to monitor the progress of the uploaded file.


Constructor Summary
FileUploadListener()
           
 
Method Summary
 long getBytesRead()
           
 long getContentLength()
           
 long getItem()
           
 void update(long aBytesRead, long aContentLength, int anItem)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileUploadListener

public FileUploadListener()
Method Detail

update

public void update(long aBytesRead,
                   long aContentLength,
                   int anItem)
Specified by:
update in interface org.apache.commons.fileupload.ProgressListener

getBytesRead

public long getBytesRead()

getContentLength

public long getContentLength()

getItem

public long getItem()


Copyright © 2010. All Rights Reserved.