- java.lang.Object
-
- bdv.export.SubTaskProgressWriter
-
- All Implemented Interfaces:
ProgressWriter
public class SubTaskProgressWriter extends Object implements ProgressWriter
-
-
Field Summary
Fields Modifier and Type Field Description protected doubleminprotected ProgressWriterprogressWriterprotected doublescale
-
Constructor Summary
Constructors Constructor Description SubTaskProgressWriter(ProgressWriter progressWriter, double startCompletionRatio, double endCompletionRatio)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrintStreamerr()PrintStreamout()voidsetProgress(double completionRatio)
-
-
-
Field Detail
-
progressWriter
protected final ProgressWriter progressWriter
-
min
protected final double min
-
scale
protected final double scale
-
-
Constructor Detail
-
SubTaskProgressWriter
public SubTaskProgressWriter(ProgressWriter progressWriter, double startCompletionRatio, double endCompletionRatio)
-
-
Method Detail
-
out
public PrintStream out()
- Specified by:
outin interfaceProgressWriter
-
err
public PrintStream err()
- Specified by:
errin interfaceProgressWriter
-
setProgress
public void setProgress(double completionRatio)
- Specified by:
setProgressin interfaceProgressWriter
-
-