public class TotalProgressBar extends Object implements Consumer<TotalProgressEvent>
TotalProgressEvent
objects.Constructor and Description |
---|
TotalProgressBar(String prefix)
Create a new
TotalProgressBar instance. |
TotalProgressBar(String prefix,
char progressChar,
boolean bookend,
PrintStream out)
Create a new
TotalProgressBar instance. |
TotalProgressBar(String prefix,
PrintStream out)
Create a new
TotalProgressBar instance. |
public TotalProgressBar(String prefix)
TotalProgressBar
instance.prefix
- the prefix to outputpublic TotalProgressBar(String prefix, PrintStream out)
TotalProgressBar
instance.prefix
- the prefix to outputout
- the output print stream to usepublic TotalProgressBar(String prefix, char progressChar, boolean bookend, PrintStream out)
TotalProgressBar
instance.prefix
- the prefix to outputprogressChar
- the progress char to printbookend
- if bookends should be printedout
- the output print stream to usepublic void accept(TotalProgressEvent event)
accept
in interface Consumer<TotalProgressEvent>