Package org.xblackcat.sjpu.cli.progress
Class BytesProgressPublisher
java.lang.Object
org.xblackcat.sjpu.cli.progress.AProgressPublisher
org.xblackcat.sjpu.cli.progress.BytesProgressPublisher
- All Implemented Interfaces:
IProgressPublisher
public class BytesProgressPublisher 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 BytesProgressPublisher(java.util.function.Consumer<java.lang.String> output) -
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
-
BytesProgressPublisher
public BytesProgressPublisher(java.util.function.Consumer<java.lang.String> output)
-
-
Method Details
-
publish
public void publish(long current)
-