public class InteractiveConsoleProgressBarConsumer extends ConsoleProgressBarConsumer
| Constructor and Description |
|---|
InteractiveConsoleProgressBarConsumer(PrintStream out) |
InteractiveConsoleProgressBarConsumer(PrintStream out,
int predefinedWidth) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(String str)
Accepts a rendered form of a progress bar, e.g., prints to a specified stream.
|
void |
close() |
getMaxRenderedLengthclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappend, append, appendpublic InteractiveConsoleProgressBarConsumer(PrintStream out)
public InteractiveConsoleProgressBarConsumer(PrintStream out, int predefinedWidth)
public void accept(String str)
ProgressBarConsumeraccept in interface Consumer<String>accept in interface ProgressBarConsumeraccept in class ConsoleProgressBarConsumerstr - Rendered form of a progress bar, a stringpublic void close()
close in interface AutoCloseableclose in interface ProgressBarConsumerclose in class ConsoleProgressBarConsumerCopyright © 2022. All rights reserved.