com.googlecode.fascinator.portal.guitoolkit
Class FileUploadListener

java.lang.Object
  extended by com.googlecode.fascinator.portal.guitoolkit.FileUploadListener
All Implemented Interfaces:
org.apache.commons.fileupload.ProgressListener

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

A listener object to be used in ajax queries for updating upload progress bars.

Currently this should be considered deprecated code. We found it not possible to integrate with Tapestry in the time scoped for this task. It may not be possible at all.

Author:
Greg Pendlebury

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 © 2009-2013. All Rights Reserved.