Package net.sf.basedb.core
Interface AbsoluteProgressReporter
- All Superinterfaces:
ProgressReporter
- All Known Implementing Classes:
GeoLocation.ResponseFilter
,SimpleAbsoluteProgressReporter
,TransferRateProgressReporter
This is interface is an extension to the
ProgressReporter
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 the ProgressReporter.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
Modifier and TypeMethodDescriptionvoid
displayAbsolute
(long completed, String message) Display a progress message.Methods inherited from interface net.sf.basedb.core.ProgressReporter
append, display
-
Method Details
-
displayAbsolute
Display a progress message.- Parameters:
completed
- The progress of the taskmessage
- A message, or null
-