Skip navigation links
A B C D E G H I M N P R S T V W 

A

accept(String) - Method in class me.tongfei.progressbar.ConsoleProgressBarConsumer
 
accept(String) - Method in class me.tongfei.progressbar.DelegatingProgressBarConsumer
 
accept(String) - Method in class me.tongfei.progressbar.InteractiveConsoleProgressBarConsumer
 
accept(String) - Method in interface me.tongfei.progressbar.ProgressBarConsumer
Accepts a rendered form of a progress bar, e.g., prints to a specified stream.
append(CharSequence) - Method in interface me.tongfei.progressbar.ProgressBarConsumer
 
append(CharSequence, int, int) - Method in interface me.tongfei.progressbar.ProgressBarConsumer
 
append(char) - Method in interface me.tongfei.progressbar.ProgressBarConsumer
 

B

build() - Method in class me.tongfei.progressbar.ProgressBarBuilder
 

C

characteristics() - Method in class me.tongfei.progressbar.wrapped.ProgressBarWrappedSpliterator
 
close() - Method in class me.tongfei.progressbar.ConsoleProgressBarConsumer
 
close() - Method in class me.tongfei.progressbar.DelegatingProgressBarConsumer
 
close() - Method in class me.tongfei.progressbar.InteractiveConsoleProgressBarConsumer
 
close() - Method in class me.tongfei.progressbar.ProgressBar
Stops this progress bar, effectively stops tracking the underlying process.
close() - Method in interface me.tongfei.progressbar.ProgressBarConsumer
 
close() - Method in class me.tongfei.progressbar.wrapped.ProgressBarWrappedInputStream
 
close() - Method in class me.tongfei.progressbar.wrapped.ProgressBarWrappedIterator
 
close() - Method in class me.tongfei.progressbar.wrapped.ProgressBarWrappedSpliterator
 
ConsoleProgressBarConsumer - Class in me.tongfei.progressbar
Progress bar consumer that prints the progress bar state to console.
ConsoleProgressBarConsumer(PrintStream) - Constructor for class me.tongfei.progressbar.ConsoleProgressBarConsumer
 
ConsoleProgressBarConsumer(PrintStream, int) - Constructor for class me.tongfei.progressbar.ConsoleProgressBarConsumer
 

D

DefaultProgressBarRenderer - Class in me.tongfei.progressbar
Default progress bar renderer (see ProgressBarRenderer).
DefaultProgressBarRenderer(ProgressBarStyle, String, long, boolean, DecimalFormat, ChronoUnit) - Constructor for class me.tongfei.progressbar.DefaultProgressBarRenderer
 
DelegatingProgressBarConsumer - Class in me.tongfei.progressbar
Progress bar consumer that delegates the progress bar handling to a custom Consumer.
DelegatingProgressBarConsumer(Consumer<String>) - Constructor for class me.tongfei.progressbar.DelegatingProgressBarConsumer
 
DelegatingProgressBarConsumer(Consumer<String>, int) - Constructor for class me.tongfei.progressbar.DelegatingProgressBarConsumer
 

E

estimateSize() - Method in class me.tongfei.progressbar.wrapped.ProgressBarWrappedSpliterator
 
eta(ProgressState, Duration) - Method in class me.tongfei.progressbar.DefaultProgressBarRenderer
 

G

getComparator() - Method in class me.tongfei.progressbar.wrapped.ProgressBarWrappedSpliterator
 
getCurrent() - Method in class me.tongfei.progressbar.ProgressBar
Returns the current progress.
getExtraMessage() - Method in class me.tongfei.progressbar.ProgressBar
Returns the extra message at the end of the progress bar.
getMax() - Method in class me.tongfei.progressbar.ProgressBar
Returns the maximum value of this progress bar.
getMaxRenderedLength() - Method in class me.tongfei.progressbar.ConsoleProgressBarConsumer
 
getMaxRenderedLength() - Method in class me.tongfei.progressbar.DelegatingProgressBarConsumer
 
getMaxRenderedLength() - Method in interface me.tongfei.progressbar.ProgressBarConsumer
Returns the maximum length allowed for the rendered form of a progress bar.
getProgressBar() - Method in class me.tongfei.progressbar.wrapped.ProgressBarWrappedInputStream
 
getProgressBar() - Method in class me.tongfei.progressbar.wrapped.ProgressBarWrappedIterator
 
getProgressBar() - Method in class me.tongfei.progressbar.wrapped.ProgressBarWrappedSpliterator
 
getProgressBarBuilder() - Method in class me.tongfei.progressbar.wrapped.ProgressBarWrappedIterable
 
getTaskName() - Method in class me.tongfei.progressbar.ProgressBar
Returns the name of this task.

H

hasNext() - Method in class me.tongfei.progressbar.wrapped.ProgressBarWrappedIterator
 

I

InteractiveConsoleProgressBarConsumer - Class in me.tongfei.progressbar
Progress bar consumer for terminals supporting moving cursor up/down.
InteractiveConsoleProgressBarConsumer(PrintStream) - Constructor for class me.tongfei.progressbar.InteractiveConsoleProgressBarConsumer
 
iterator() - Method in class me.tongfei.progressbar.wrapped.ProgressBarWrappedIterable
 

M

mark(int) - Method in class me.tongfei.progressbar.wrapped.ProgressBarWrappedInputStream
 
maxHint(long) - Method in class me.tongfei.progressbar.ProgressBar
Gives a hint to the maximum value of the progress bar.
me.tongfei.progressbar - package me.tongfei.progressbar
 
me.tongfei.progressbar.wrapped - package me.tongfei.progressbar.wrapped
 

N

next() - Method in class me.tongfei.progressbar.wrapped.ProgressBarWrappedIterator
 

P

pause() - Method in class me.tongfei.progressbar.ProgressBar
Pauses this current progress.
percentage(ProgressState) - Method in class me.tongfei.progressbar.DefaultProgressBarRenderer
 
ProgressBar - Class in me.tongfei.progressbar
A console-based progress bar with minimal runtime overhead.
ProgressBar(String, long) - Constructor for class me.tongfei.progressbar.ProgressBar
Creates a progress bar with the specific taskName name and initial maximum value.
ProgressBar(String, long, int, PrintStream, ProgressBarStyle, String, long, boolean, DecimalFormat, ChronoUnit, long, Duration) - Constructor for class me.tongfei.progressbar.ProgressBar
Creates a progress bar with the specific taskName name, initial maximum value, customized update interval (default 1000 ms), the PrintStream to be used, and output style.
ProgressBar(String, long, int, long, Duration, ProgressBarRenderer, ProgressBarConsumer) - Constructor for class me.tongfei.progressbar.ProgressBar
Creates a progress bar with the specific name, initial maximum value, customized update interval (default 1s), and the provided progress bar renderer (ProgressBarRenderer) and consumer (ProgressBarConsumer).
ProgressBarBuilder - Class in me.tongfei.progressbar
Builder class for ProgressBars.
ProgressBarBuilder() - Constructor for class me.tongfei.progressbar.ProgressBarBuilder
 
ProgressBarConsumer - Interface in me.tongfei.progressbar
A consumer that prints a rendered progress bar.
ProgressBarRenderer - Interface in me.tongfei.progressbar
Renders a ProgressState into a string.
ProgressBarStyle - Enum in me.tongfei.progressbar
Represents the display style of a progress bar.
ProgressBarWrappedInputStream - Class in me.tongfei.progressbar.wrapped
Any input stream whose progress is tracked by a progress bar.
ProgressBarWrappedInputStream(InputStream, ProgressBar) - Constructor for class me.tongfei.progressbar.wrapped.ProgressBarWrappedInputStream
 
ProgressBarWrappedIterable<T> - Class in me.tongfei.progressbar.wrapped
 
ProgressBarWrappedIterable(Iterable<T>, ProgressBarBuilder) - Constructor for class me.tongfei.progressbar.wrapped.ProgressBarWrappedIterable
 
ProgressBarWrappedIterator<T> - Class in me.tongfei.progressbar.wrapped
 
ProgressBarWrappedIterator(Iterator<T>, ProgressBar) - Constructor for class me.tongfei.progressbar.wrapped.ProgressBarWrappedIterator
 
ProgressBarWrappedSpliterator<T> - Class in me.tongfei.progressbar.wrapped
 
ProgressBarWrappedSpliterator(Spliterator<T>, ProgressBar) - Constructor for class me.tongfei.progressbar.wrapped.ProgressBarWrappedSpliterator
 
progressFractionalPart(ProgressState, int) - Method in class me.tongfei.progressbar.DefaultProgressBarRenderer
 
progressIntegralPart(ProgressState, int) - Method in class me.tongfei.progressbar.DefaultProgressBarRenderer
 

R

ratio(ProgressState) - Method in class me.tongfei.progressbar.DefaultProgressBarRenderer
 
read() - Method in class me.tongfei.progressbar.wrapped.ProgressBarWrappedInputStream
 
read(byte[]) - Method in class me.tongfei.progressbar.wrapped.ProgressBarWrappedInputStream
 
read(byte[], int, int) - Method in class me.tongfei.progressbar.wrapped.ProgressBarWrappedInputStream
 
remove() - Method in class me.tongfei.progressbar.wrapped.ProgressBarWrappedIterator
 
render(ProgressState, int) - Method in class me.tongfei.progressbar.DefaultProgressBarRenderer
 
render(ProgressState, int) - Method in interface me.tongfei.progressbar.ProgressBarRenderer
Renders the current progress bar state as a string to be shown by a consumer.
reset() - Method in class me.tongfei.progressbar.wrapped.ProgressBarWrappedInputStream
 
resume() - Method in class me.tongfei.progressbar.ProgressBar
Resumes this current progress.

S

setConsumer(ProgressBarConsumer) - Method in class me.tongfei.progressbar.ProgressBarBuilder
 
setExtraMessage(String) - Method in class me.tongfei.progressbar.ProgressBar
Sets the extra message at the end of the progress bar.
setInitialMax(long) - Method in class me.tongfei.progressbar.ProgressBarBuilder
 
setSpeedUnit(ChronoUnit) - Method in class me.tongfei.progressbar.ProgressBarBuilder
 
setStyle(ProgressBarStyle) - Method in class me.tongfei.progressbar.ProgressBarBuilder
 
setTaskName(String) - Method in class me.tongfei.progressbar.ProgressBarBuilder
 
setUnit(String, long) - Method in class me.tongfei.progressbar.ProgressBarBuilder
 
setUpdateIntervalMillis(int) - Method in class me.tongfei.progressbar.ProgressBarBuilder
 
showSpeed() - Method in class me.tongfei.progressbar.ProgressBarBuilder
 
showSpeed(DecimalFormat) - Method in class me.tongfei.progressbar.ProgressBarBuilder
 
skip(long) - Method in class me.tongfei.progressbar.wrapped.ProgressBarWrappedInputStream
 
speed(ProgressState, Duration) - Method in class me.tongfei.progressbar.DefaultProgressBarRenderer
 
startsFrom(long, Duration) - Method in class me.tongfei.progressbar.ProgressBarBuilder
Sets elapsedBeforeStart duration and number of processed units.
step() - Method in class me.tongfei.progressbar.ProgressBar
Advances this progress bar by one step.
stepBy(long) - Method in class me.tongfei.progressbar.ProgressBar
Advances this progress bar by a specific amount.
stepTo(long) - Method in class me.tongfei.progressbar.ProgressBar
Advances this progress bar to the specific progress value.

T

TerminalUtils - Class in me.tongfei.progressbar
 
TerminalUtils() - Constructor for class me.tongfei.progressbar.TerminalUtils
 
tryAdvance(Consumer<? super T>) - Method in class me.tongfei.progressbar.wrapped.ProgressBarWrappedSpliterator
 
trySplit() - Method in class me.tongfei.progressbar.wrapped.ProgressBarWrappedSpliterator
 

V

valueOf(String) - Static method in enum me.tongfei.progressbar.ProgressBarStyle
Returns the enum constant of this type with the specified name.
values() - Static method in enum me.tongfei.progressbar.ProgressBarStyle
Returns an array containing the constants of this enum type, in the order they are declared.

W

wrap(Iterator<T>, String) - Static method in class me.tongfei.progressbar.ProgressBar
Wraps an iterator so that when iterated, a progress bar is shown to track the traversal progress.
wrap(Iterator<T>, ProgressBarBuilder) - Static method in class me.tongfei.progressbar.ProgressBar
Wraps an iterator so that when iterated, a progress bar is shown to track the traversal progress.
wrap(Iterable<T>, String) - Static method in class me.tongfei.progressbar.ProgressBar
Wraps an Iterable so that when iterated, a progress bar is shown to track the traversal progress.
wrap(Iterable<T>, ProgressBarBuilder) - Static method in class me.tongfei.progressbar.ProgressBar
Wraps an Iterable so that when iterated, a progress bar is shown to track the traversal progress.
wrap(InputStream, String) - Static method in class me.tongfei.progressbar.ProgressBar
Wraps an InputStream so that when read, a progress bar is shown to track the reading progress.
wrap(InputStream, ProgressBarBuilder) - Static method in class me.tongfei.progressbar.ProgressBar
Wraps an InputStream so that when read, a progress bar is shown to track the reading progress.
wrap(Spliterator<T>, String) - Static method in class me.tongfei.progressbar.ProgressBar
Wraps a Spliterator so that when iterated, a progress bar is shown to track the traversal progress.
wrap(Spliterator<T>, ProgressBarBuilder) - Static method in class me.tongfei.progressbar.ProgressBar
Wraps a Spliterator so that when iterated, a progress bar is shown to track the traversal progress.
wrap(S, String) - Static method in class me.tongfei.progressbar.ProgressBar
Wraps a Stream so that when iterated, a progress bar is shown to track the traversal progress.
wrap(S, ProgressBarBuilder) - Static method in class me.tongfei.progressbar.ProgressBar
Wraps a Stream so that when iterated, a progress bar is shown to track the traversal progress.
wrap(T[], String) - Static method in class me.tongfei.progressbar.ProgressBar
Wraps an array so that when iterated, a progress bar is shown to track the traversal progress.
wrap(T[], ProgressBarBuilder) - Static method in class me.tongfei.progressbar.ProgressBar
Wraps an array so that when iterated, a progress bar is shown to track the traversal progress.
A B C D E G H I M N P R S T V W 
Skip navigation links

Copyright © 2020. All rights reserved.