Package | Description |
---|---|
org.refcodes.tabular |
The tabular package provides a frame to handle tables of data, often
occurring when logging or when working with CSV files.
|
org.refcodes.tabular.impls |
Modifier and Type | Interface and Description |
---|---|
interface |
ColumnsTemplate<T,C extends Column<? extends T>>
In case no order of the
Column instances is explicitly required
(similar to a DB table or a spread sheet, in contrast to a CSV file) then
Column instances are grouped by a ColumnsTemplate set. |
interface |
HeaderTemplate<T,C extends Column<? extends T>>
A list of
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 HeaderTemplate . |
Modifier and Type | Interface and Description |
---|---|
interface |
FormattedColumn<T>
Enriches a
Column with rendering metrics (as of the
ColumnSetupMetrics ) mostly for text-based output such as for
generating output for a terminal / console. |
Modifier and Type | Method and Description |
---|---|
Column<T> |
ColumnAccessor.getColumn()
Retrieves the
Column property. |
Column<T> |
ColumnFactory.toInstance(String aKey) |
Column<T> |
ColumnFactory.toInstance(String aKey,
org.refcodes.collection.Properties aProperties) |
Modifier and Type | Method and Description |
---|---|
void |
ColumnAccessor.ColumnMutator.setColumn(Column<T> aColumn)
Sets the
Column property. |
default ColumnsTemplate<T,C> |
ColumnsTemplate.withColumns(C... aColumns) |
default Columns<T> |
Columns.withColumns(Column<? extends T>... aColumns) |
Constructor and Description |
---|
ColumnMismatchException(Column<?> aColumn,
Object aValue,
String message) |
ColumnMismatchException(Column<?> aColumn,
Object aValue,
String aMessage,
String aErrorCode) |
ColumnMismatchException(Column<?> aColumn,
Object aValue,
String message,
Throwable cause) |
ColumnMismatchException(Column<?> aColumn,
Object aValue,
String aMessage,
Throwable aCause,
String aErrorCode) |
ColumnMismatchException(Column<?> aColumn,
Object aValue,
Throwable cause) |
ColumnMismatchException(Column<?> aColumn,
Object aValue,
Throwable aCause,
String aErrorCode) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractHeader<T,C extends Column<? extends T>>
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractColumn<T>
The
AbstractColumn is the default implementation for the
Column interface. |
class |
ColumnImpl<T>
|
class |
DateColumnImpl
DateColumnImpl extends the OneToOneColumnImpl with support
for the Date type and various default or custom date formats. |
class |
ExceptionColumnImpl |
class |
FormattedColumnDecorator<T>
Decorator implementation of the HeaderSetupMetrics interface.
|
class |
FormattedColumnImpl<T>
Implementation of the
FormattedColumn interface. |
class |
IntegerColumnImpl
|
class |
StringColumnImpl
|
class |
StringsColumnImpl
|
Modifier and Type | Method and Description |
---|---|
Column<Object> |
ColumnFactoryImpl.toInstance(String aKey)
Returns the default
Column implementation being the
OneToOneColumnImpl . |
Column<Object> |
ColumnFactoryImpl.toInstance(String aKey,
org.refcodes.collection.Properties aProperties)
As no properties are supported, this operation is not supported by this
implementation.
|
Constructor and Description |
---|
AbstractHeader(C... aHeader)
Constructs the
AbstractHeader instance configured with the
provided Column instances. |
FormattedColumnDecorator(Column<T> aColumn)
Wrapper for the provided
Column decorating it with additional
ColumnSetupMetrics functionality. |
FormattedColumnDecorator(Column<T> aColumn,
org.refcodes.textual.ColumnSetupMetrics aColumnSetupMetrics)
Wrapper for the provided
Column and the provided
ColumnSetupMetrics decorating it with each other's additional
functionality. |
HeaderImpl(Column<? extends T>... aHeader) |
Copyright © 2017. All rights reserved.