Package org.xblackcat.sjpu.cli.progress
Class PercentProgressPublisher
java.lang.Object
org.xblackcat.sjpu.cli.progress.AProgressPublisher
org.xblackcat.sjpu.cli.progress.PercentProgressPublisher
- All Implemented Interfaces:
IProgressPublisher
public class PercentProgressPublisher extends AProgressPublisher
-
Field Summary
Fields inherited from class org.xblackcat.sjpu.cli.progress.AProgressPublisher
outputFields inherited from interface org.xblackcat.sjpu.cli.progress.IProgressPublisher
NO_RENDERER -
Constructor Summary
Constructors Constructor Description PercentProgressPublisher(java.util.function.Consumer<java.lang.String> output, long total) -
Method Summary
Modifier and Type Method Description voidpublish(long current)Methods inherited from class org.xblackcat.sjpu.cli.progress.AProgressPublisher
doneMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
PercentProgressPublisher
public PercentProgressPublisher(java.util.function.Consumer<java.lang.String> output, long total)
-
-
Method Details
-
publish
public void publish(long current)
-