Class PrintStreamProgressMonitor
java.lang.Object
net.thevpc.common.mon.AbstractTaskMonitor
net.thevpc.common.mon.AbstractProgressMonitor
net.thevpc.common.mon.PrintStreamProgressMonitor
- All Implemented Interfaces:
ProgressMonitor, TaskMonitor
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractTaskMonitor
AbstractTaskMonitor.MonChronometer -
Field Summary
Fields inherited from class AbstractTaskMonitor
chronometer, EMPTY_MESSAGEFields inherited from interface ProgressMonitor
INDETERMINATE_PROGRESS -
Constructor Summary
ConstructorsConstructorDescriptionPrintStreamProgressMonitor(String messageFormat, PrintStream printStream) %value% %date% -
Method Summary
Modifier and TypeMethodDescriptiondoublevoidsetMessageImpl(Message message) protected voidsetProgressImpl(double progress) toString()Methods inherited from class AbstractProgressMonitor
getEstimatedRemainingDuration, getEstimatedTotalDuration, getIncrementor, inc, inc, inc, incremental, incremental, setIncrementor, setIndeterminate, setIndeterminate, setProgress, setProgress, setProgress, setProgress, setProgress, setProgress, setProgress, setProgress, setProgress, split, split, start, start, startImpl, stepInto, stepInto, stepInto, stepInto, temporize, terminate, terminate, terminateImpl, translate, translate, translateMethods inherited from class AbstractTaskMonitor
addListener, cancel, cancelImpl, getDesc, getDuration, getId, getListeners, getName, getStartTime, isBlocked, isCanceled, isStarted, isSuspended, isTerminated, nextId, removeListener, reset, resetImpl, resume, resumeImpl, setBlocked, setBlockedImpl, setDesc, setMessage, setMessage, setMessage, setName, setStartedImpl, start, suspend, suspendImpl, terminate, terminateMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ProgressMonitor
complete, complete, completeMethods inherited from interface TaskMonitor
addListener, cancel, getDesc, getDuration, getId, getListeners, getName, getStartTime, isBlocked, isCanceled, isStarted, isSuspended, isTerminated, removeListener, reset, resume, setBlocked, setMessage, setMessage, setMessage, start, suspend, terminate
-
Constructor Details
-
PrintStreamProgressMonitor
%value% %date%- Parameters:
messageFormat-
-
-
Method Details
-
setMessageImpl
- Specified by:
setMessageImplin classAbstractTaskMonitor
-
toString
-
setProgressImpl
protected void setProgressImpl(double progress) - Specified by:
setProgressImplin classAbstractProgressMonitor
-
getMessage
-
getProgress
public double getProgress()
-