mk.fsgrep.util
Class TextProgressBar
java.lang.Object
mk.fsgrep.util.TextProgressBar
- All Implemented Interfaces:
- ProgressBar
public class TextProgressBar
- extends java.lang.Object
- implements ProgressBar
Draws a text-based progress bar (percentage completion).
- Author:
- Murali Krishnan
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextProgressBar
public TextProgressBar(OutputDestination pOut)
getSegments
protected java.util.LinkedList<java.lang.Integer> getSegments()
getTotalCount
protected int getTotalCount()
getSegmentCount
protected int getSegmentCount()
getOut
protected OutputDestination getOut()
isDefined
protected boolean isDefined()
setOut
protected void setOut(OutputDestination val)
decrTotalCount
protected void decrTotalCount()
decrSegmentCount
protected void decrSegmentCount()
initializeSegment
protected void initializeSegment()
printHeader
protected void printHeader()
update
public void update()
- Specified by:
update in interface ProgressBar
finish
public void finish()
- Specified by:
finish in interface ProgressBar
initialize
public void initialize(int pTotalCount)
- Specified by:
initialize in interface ProgressBar
Copyright © 2009. All Rights Reserved.