Package net.sf.basedb.core
Interface AbsoluteProgressReporter
-
- All Superinterfaces:
ProgressReporter
- All Known Implementing Classes:
GeoLocation.ResponseFilter
,SimpleAbsoluteProgressReporter
,TransferRateProgressReporter
public interface AbsoluteProgressReporter extends ProgressReporter
This is interface is an extension to theProgressReporter
interface. Instead of sending the percentage of progress it is possible to send an absolute value. This is useful for example when copying files were it makes more sense to display the number of bytes copied. It is up to each implementation to define the endpoint, ie. the total number of bytes to copy. Implementations should still allow theProgressReporter.display(int, String)
method to be called.- Version:
- 2.0
- Author:
- nicklas
- Last modified
- $Date: 2008-09-11 22:11:02 +0200 (to, 11 sep 2008) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
displayAbsolute(long completed, String message)
Display a progress message.-
Methods inherited from interface net.sf.basedb.core.ProgressReporter
append, display
-
-
-
-
Method Detail
-
displayAbsolute
void displayAbsolute(long completed, String message)
Display a progress message.- Parameters:
completed
- The progress of the taskmessage
- A message, or null
-
-