net.sf.taverna.raven.repository
Interface DownloadStatus

All Known Implementing Classes:
DownloadStatusImpl

public interface DownloadStatus

The status of an active download

Author:
Tom Oinn

Method Summary
 int getReadBytes()
           
 int getTotalBytes()
           
 boolean isFinished()
           
 

Method Detail

getReadBytes

int getReadBytes()
Returns:
total number of bytes read from the download source

getTotalBytes

int getTotalBytes()
Returns:
total number of bytes to read from the download source, or -1 if not known

isFinished

boolean isFinished()
Returns:
true if the download has finnished (successfully, or in error), false otherwise