public interface ProgressBarConsumer extends Consumer<String>, Appendable, AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
accept(String rendered)
Accepts a rendered form of a progress bar, e.g., prints to a specified stream.
|
default ProgressBarConsumer |
append(char c) |
default ProgressBarConsumer |
append(CharSequence csq) |
default ProgressBarConsumer |
append(CharSequence csq,
int start,
int end) |
void |
close() |
int |
getMaxRenderedLength()
Returns the maximum length allowed for the rendered form of a progress bar.
|
int getMaxRenderedLength()
void accept(String rendered)
default ProgressBarConsumer append(CharSequence csq)
append in interface Appendabledefault ProgressBarConsumer append(CharSequence csq, int start, int end)
append in interface Appendabledefault ProgressBarConsumer append(char c)
append in interface Appendablevoid close()
close in interface AutoCloseableCopyright © 2022. All rights reserved.