T - The type managed by the FormattedHeader.org.refcodes.structure.Clearable, Collection<T>, ColumnsTemplate<T,C>, HeaderTemplate<T,FormattedColumn<? extends T>>, Iterable<T>, org.refcodes.structure.Keys<T,C>, org.refcodes.structure.Keys.MutableKeys<T,C>, List<T>FormattedHeaderImplpublic 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 | 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. |
parallelStream, removeIf, streamcontainsValue, withColumnsfromStorageString, fromStorageString, fromStorageStringRecord, fromStorageStringRow, fromStorageStrings, fromStorageStrings, fromStorageStringsRecord, fromStorageStringsRow, indexOf, toPrintable, toPrintable, toPrintableRecord, toPrintableRow, toRecord, toRecordIgnoreType, toRow, toRowIgnoreType, toStorageString, toStorageString, toStorageStringRecord, toStorageStringRow, toStorageStrings, toStorageStrings, toStorageStringsRecord, toStorageStringsRowcontainsKey, get, get, keySet, use, valuesadd, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, of, of, of, of, of, of, of, of, of, of, of, of, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArrayString 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 © 2018. All rights reserved.