Uses of Interface
org.refcodes.tabular.Column
-
Uses of Column in org.refcodes.tabular
Modifier and TypeClassDescriptionclass
AbstractHeader<T,
C extends Column<? extends T>> interface
interface
Modifier and TypeInterfaceDescriptioninterface
Enriches aColumn
with rendering metrics (as of theColumnSetupMetrics
) mostly for text-based output such as for generating output for a terminal / console.Modifier and TypeClassDescriptionclass
TheAbstractColumn
is the default implementation for theColumn
interface.class
class
DateColumn
implements theColumn
with support for theDate
type and various default or custom date formats.class
class
EnumColumn<T extends Enum<T>>
class
The Class ExceptionColumnImpl.class
class
Decorator implementation of the HeaderSetupMetrics interface.class
Implementation of theFormattedColumn
interface.class
class
class
ObjectColumn<T>
class
class
Modifier and TypeMethodDescriptionTabularSugar.booleanColumn
(String aKey) Constructs aColumn
with support for boolean values.BooleanColumnFactory.createInstance
(String aKey) BooleanColumnFactory.createInstance
(String aKey, Map<String, String> aProperties) ColumnFactory.createInstance
(String aKey) ColumnFactory.createInstance
(String aKey, Map<String, String> aProperties) DoubleColumnFactory.createInstance
(String aKey) DoubleColumnFactory.createInstance
(String aKey, Map<String, String> aProperties) FloatColumnFactory.createInstance
(String aKey) FloatColumnFactory.createInstance
(String aKey, Map<String, String> aProperties) IntColumnFactory.createInstance
(String aKey) IntColumnFactory.createInstance
(String aKey, Map<String, String> aProperties) LongColumnFactory.createInstance
(String aKey) LongColumnFactory.createInstance
(String aKey, Map<String, String> aProperties) ObjectColumnFactory.createInstance
(String aKey) ObjectColumnFactory.createInstance
(String aKey, Map<String, String> aProperties) StringColumnFactory.createInstance
(String aKey) StringColumnFactory.createInstance
(String aKey, Map<String, String> aProperties) TabularSugar.dateColumn
(String aKey) Constructs aColumn
with support for the defaultSimpleDateFormat
instances as defined in theDateFormats.DEFAULT_DATE_FORMATS
.TabularSugar.dateColumn
(String aKey, DateTimeFormatter... aDateFormats) Constructs aColumn
with support for the providedSimpleDateFormat
instances.TabularSugar.doubleColumn
(String aKey) Constructs aColumn
with support for double values.TabularSugar.enumColumn
(String aKey, Class<T> aType) Constructs aColumn
with support for enumeration values.TabularSugar.floatColumn
(String aKey) Constructs aColumn
with support for float values.ColumnAccessor.getColumn()
Retrieves theColumn
property.Constructs aColumn
with support for integer values.This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenColumn
(setter) as ofColumnAccessor.ColumnMutator.setColumn(Column)
and returns the very same value (getter).TabularSugar.longColumn
(String aKey) Constructs aColumn
with support for long values.TabularSugar.stringColumn
(String aKey) Constructs aColumn
with support for string values.Modifier and TypeMethodDescriptionstatic Header<?>
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenColumn
(setter) as ofColumnAccessor.ColumnMutator.setColumn(Column)
and returns the very same value (getter).CsvRecordReader.readHeader
(Column<T>... aColumns) Creates aHeader
from the next line to be read.RecordReader.readHeader
(Column<T>... aColumns) Creates aHeader
from the next line to be read.void
Sets theColumn
property.ColumnRow.withColumns
(C... aColumns) With columns.Columns.withColumns
(Column<? extends T>... aColumns) With columns.ModifierConstructorDescriptionAbstractHeader
(C... aColumns) Constructs theAbstractHeader
instance configured with the providedColumn
instances.ColumnMismatchException
(Column<?> aColumn, Object aValue, String message) Instantiates a new column mismatch exception.ColumnMismatchException
(Column<?> aColumn, Object aValue, String aMessage, String aErrorCode) Instantiates a new column mismatch exception.ColumnMismatchException
(Column<?> aColumn, Object aValue, String message, Throwable cause) Instantiates a new column mismatch exception.ColumnMismatchException
(Column<?> aColumn, Object aValue, String aMessage, Throwable aCause, String aErrorCode) Instantiates a new column mismatch exception.ColumnMismatchException
(Column<?> aColumn, Object aValue, Throwable cause) Instantiates a new column mismatch exception.ColumnMismatchException
(Column<?> aColumn, Object aValue, Throwable aCause, String aErrorCode) Instantiates a new column mismatch exception.FormattedColumnDecorator
(Column<T> aColumn) Wrapper for the providedColumn
decorating it with additionalColumnSetupMetrics
functionality.FormattedColumnDecorator
(Column<T> aColumn, org.refcodes.textual.ColumnSetupMetrics aColumnSetupMetrics) Wrapper for the providedColumn
and the providedColumnSetupMetrics
decorating it with each other's additional functionality.HeaderImpl
(Column<? extends T>... aColumns)