net.sourceforge.java.util.jobs
Class CompositeJobStatusFormat

java.lang.Object
  extended bynet.sourceforge.java.util.jobs.DefaultJobStatusFormat
      extended bynet.sourceforge.java.util.jobs.CompositeJobStatusFormat
All Implemented Interfaces:
IJobStatusFormat

public class CompositeJobStatusFormat
extends DefaultJobStatusFormat

Formats the JobStatus of a composite IJob, i.e. an IJob which is segmented into several single sub tasks.

Author:
Sebastian Machhausen

Field Summary
 
Fields inherited from class net.sourceforge.java.util.jobs.DefaultJobStatusFormat
DEFAULT_NUMBER_FORMAT, DEFAULT_PERCENT_FORMAT
 
Constructor Summary
CompositeJobStatusFormat()
           
 
Method Summary
 String formatProgress(JobStatus status)
           Formats the specified JobStatus progress.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeJobStatusFormat

public CompositeJobStatusFormat()
Method Detail

formatProgress

public String formatProgress(JobStatus status)

Formats the specified JobStatus progress.

Specified by:
formatProgress in interface IJobStatusFormat
Overrides:
formatProgress in class DefaultJobStatusFormat
Parameters:
status - the JobStatus to format the progress for
Returns:
a formatted textual representation of the specified JobStatus progress