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
-
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 -
Method Summary
Modifier and TypeMethodDescriptionbooleanpublish(long current) Publish and render a new value for progressMethods inherited from class org.xblackcat.sjpu.cli.progress.AProgressPublisher
done, isDone
-
Constructor Details
-
BytesProgressPublisher
-
-
Method Details
-
publish
public boolean publish(long current) Description copied from interface:IProgressPublisherPublish and render a new value for progress- Parameters:
current- new progress value- Returns:
- true if progress string has changed
-