| Package | Description |
|---|---|
| net.obvj.performetrics.util.print |
Provides classes for printing stopwatch data.
|
| Modifier and Type | Method and Description |
|---|---|
static PrintStyleBuilder |
PrintStyle.builder(PrintFormat printFormat)
Returns an empty PrintStyle builder.
|
static PrintStyleBuilder |
PrintStyle.builder(PrintStyle source)
Returns a PrintStyle builder with the same attributes of an existing PrintStyle.
|
PrintStyleBuilder |
PrintStyleBuilder.withAlternativeLine(char character,
int length)
Defines an alternative line, to be generated using the specified character repeated to
a given length.
|
PrintStyleBuilder |
PrintStyleBuilder.withAlternativeLine(String string)
Defines an alternative line.
|
PrintStyleBuilder |
PrintStyleBuilder.withDurationFormat(DurationFormat format)
Defines the
DurationFormat to be applied on all rows containing a time
duration. |
PrintStyleBuilder |
PrintStyleBuilder.withHeader()
Enables the header row, to be formatted using the same general row format and preset
column names.
|
PrintStyleBuilder |
PrintStyleBuilder.withHeader(String format)
Enables the header row and defines a specific format string in printf-style to be
applied.
|
PrintStyleBuilder |
PrintStyleBuilder.withLegends()
Enables printing legends after time durations.
|
PrintStyleBuilder |
PrintStyleBuilder.withoutHeader()
Explicitly disables the header row.
|
PrintStyleBuilder |
PrintStyleBuilder.withoutLegends()
Explicitly disables legends after time durations.
|
PrintStyleBuilder |
PrintStyleBuilder.withoutSectionSummary()
Explicitly disables the section summary row.
|
PrintStyleBuilder |
PrintStyleBuilder.withRowFormat(String format)
Defines a format string in printf-style to be applied for all rows.
|
PrintStyleBuilder |
PrintStyleBuilder.withSectionHeaderFormat(String format)
Defines a format string in printf-style to the applied for the section headers.
|
PrintStyleBuilder |
PrintStyleBuilder.withSectionSummary(String format)
Enables the section summary row and defines the format string in printf-style to be
applied.
|
PrintStyleBuilder |
PrintStyleBuilder.withSimpleLine(char character,
int length)
Defines a simple line, to be generated using the specified character repeated to a
given length.
|
PrintStyleBuilder |
PrintStyleBuilder.withSimpleLine(String string)
Defines a simple line.
|
Copyright © 2021. All rights reserved.