T
- The type managed by the FormattedHeader
.public interface FormattedHeader<T> extends HeaderTemplate<T,FormattedColumn<? extends T>>
Column
instances, for example describing the elements of a
CSV file (visually speaking the of the CSV file's header line), is
represented by the FormattedHeader
. The
FormattedHeader
preserves an order for a list of
Column
instances. A
FormattedHeader
provides the semantics for
related Row
instances.
The Keys.keySet()
method must provide a predictable order as ensured by
the LinkedHashSet
class as of the ordered nature of the
FormattedHeader
.
Modifier and Type | Method and Description |
---|---|
String |
getResetEscapeCode()
Gets the ANSI reset Escape-Code for this
FormattedHeader
instance. |
void |
setResetEscapeCode(String aEscapeCode)
Gets the ANSI reset Escape-Code for this
FormattedHeader
instance. |
default FormattedHeader<T> |
withResetEscapeCode(String aEscapeCode)
Sets the ANSI reset Escape-Code for this
FormattedHeader instance
as of the Builder-Pattern. |
fromStorageString, fromStorageString, fromStorageStringRecord, fromStorageStringRow, fromStorageStrings, fromStorageStrings, fromStorageStringsRecord, fromStorageStringsRow, indexOf, toPrintable, toPrintable, toPrintableRecord, toPrintableRow, toRecord, toRecordIgnoreType, toRow, toRowIgnoreType, toStorageString, toStorageString, toStorageStringRecord, toStorageStringRow, toStorageStrings, toStorageStrings, toStorageStringsRecord, toStorageStringsRow
containsValue, withColumns
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
String getResetEscapeCode()
FormattedHeader
instance. In case an ANSI Escape-Codes is set, then this ANSI Reset-Code
is prepended to the according text being printed.String
to be used for resetting ANSI escaping.void setResetEscapeCode(String aEscapeCode)
FormattedHeader
instance. In case an ANSI Escape-Codes is set, then this ANSI Reset-Code
is prepended to the according text being printed.aEscapeCode
- The String
to be used for resetting ANSI
escaping.default FormattedHeader<T> withResetEscapeCode(String aEscapeCode)
FormattedHeader
instance
as of the Builder-Pattern. In case an ANSI Escape-Codes is set, then this
ANSI Reset-Code is prepended to the according text being printed.aEscapeCode
- The String
to be used for resetting ANSI
escaping.FormattedHeader
instance to continue configuration.Copyright © 2017. All rights reserved.