Uses of Interface
org.refcodes.tabular.Header
-
-
Uses of Header in org.refcodes.tabular
Classes in org.refcodes.tabular that implement Header Modifier and Type Class Description class
HeaderImpl<T>
Implementation of theHeader
interface beingCloneable
.Fields in org.refcodes.tabular declared as Header Modifier and Type Field Description protected Header<T>
CsvRecordsWriter. _header
Methods in org.refcodes.tabular that return Header Modifier and Type Method Description Header<T>
CsvRecordsReader. getHeader()
Retrieves theHeader
property.Header<T>
CsvRecordsWriter. getHeader()
Retrieves theHeader
property.Header<T>
HeaderAccessor. getHeader()
Retrieves theHeader
property.Header<T>
RowsImpl. getHeader()
Retrieves theHeader
property.Header<T>
CsvRecordsReader. readHeader()
Creates aHeader
from the next line to be read .Header<T>
RecordsReader. readHeader()
Creates aHeader
from the next line to be read .static <T> Header<T>
TabularUtility. toHeader(java.lang.String[] aColumnKeys, ColumnFactory<T> aColumnFactory)
Creates a header for a given string array with the column names to be used for the header.static <T> Header<T>
TabularUtility. toHeader(java.util.Collection<java.lang.String> aColumnKeys, ColumnFactory<T> aColumnFactory)
Creates a header for a given list of strings containing the column names to be used for the header.Methods in org.refcodes.tabular with parameters of type Header Modifier and Type Method Description T
Row. get(Header<T> aHeader, java.lang.String aKey)
This method retrieves a value from the row by taking the index of the according column in the header of the given key (the one with the given key) and returns that value.T
RowImpl. get(Header<T> aHeader, java.lang.String aKey)
This method retrieves a value from the row by taking the index of the according column in the header of the given key (the one with the given key) and returns that value.static boolean
TabularUtility. isEqualWith(Record<?> aRecord, Header<?> aEquivalsWith)
static boolean
TabularUtility. isEqualWith(Row<?> aRow, Header<?> aEquivalsWith)
static boolean
TabularUtility. isSubsetOf(Record<?> aRecord, Header<?> aSupersetOf)
static boolean
TabularUtility. isSubsetOf(Row<?> aRow, Header<?> aSupersetOf)
static boolean
TabularUtility. isSupersetOf(Record<?> aRecord, Header<?> aSubsetOf)
static boolean
TabularUtility. isSupersetOf(Row<?> aRow, Header<?> aSubsetOf)
void
HeaderAccessor.HeaderMutator. setHeader(Header<T> aHeader)
Sets theHeader
property.static <T> Record<T>
TabularUtility. toIntersection(Record<T> aRecord, Header<?> aHeader)
static <T> Record<T>
TabularUtility. toSubset(Record<T> aRecord, Header<?> aHeader)
T
HeaderAccessor.HeaderBuilder. withHeader(Header<T> aHeader)
Sets theHeader
to use returns this builder as of the builder pattern.void
CsvRecordsWriter. writeHeader(Header<T> aHeader)
Sets and writes the providedHeader
to the (standard) output (be it a Stream or a File). .void
RecordsWriter. writeHeader(Header<T> aHeader)
Sets and writes the providedHeader
to the (standard) output (be it a Stream or a File). .void
CsvRecordsWriter. writeHeaderComment(Header<T> aHeader)
Writes the givenHeader
as ofCsvRecordsWriter.writeHeader(Header)
as a comment as ofCsvRecordsWriter.writeComment(String)
.Constructors in org.refcodes.tabular with parameters of type Header Constructor Description CsvRecordsReader(Header<T> aHeader, java.io.File aCsvFile)
Constructs aCsvRecordsReader
with the given parameters.CsvRecordsReader(Header<T> aHeader, java.io.File aCsvFile, boolean isStrict)
Constructs aCsvRecordsReader
with the given parameters.CsvRecordsReader(Header<T> aHeader, java.io.File aCsvFile, char aCsvSeparator)
Constructs aCsvRecordsReader
with the given parameters.CsvRecordsReader(Header<T> aHeader, java.io.File aCsvFile, char aCsvSeparator, boolean isStrict)
Constructs aCsvRecordsReader
with the given parameters.CsvRecordsReader(Header<T> aHeader, java.io.InputStream aCsvInputStream)
Constructs aCsvRecordsReader
with the given parameters.CsvRecordsReader(Header<T> aHeader, java.io.InputStream aCsvInputStream, boolean isStrict)
Constructs aCsvRecordsReader
with the given parameters.CsvRecordsReader(Header<T> aHeader, java.io.InputStream aCsvInputStream, char aCsvDelimiter)
Constructs aCsvRecordsReader
with the given parameters.CsvRecordsReader(Header<T> aHeader, java.io.InputStream aCsvInputStream, char aCsvDelimiter, boolean isStrict)
Constructs aCsvRecordsReader
with the given parameters.CsvRecordsReader(Header<T> aHeader, ColumnFactory<T> aColumnFactory, java.io.InputStream aCsvInputStream, char aCsvDelimiter, boolean isStrict)
Constructs aCsvRecordsReader
with the given parameters.CsvRecordsWriter(Header<T> aHeader, java.io.File aFile)
Constructs aCsvRecordsWriter
with the given header for logging.CsvRecordsWriter(Header<T> aHeader, java.io.File aFile, char aCsvDelimiter)
Constructs aCsvRecordsWriter
with the given header for logging.CsvRecordsWriter(Header<T> aHeader, java.io.OutputStream aOutputStream)
Constructs aCsvRecordsWriter
with the given header for logging.CsvRecordsWriter(Header<T> aHeader, java.io.OutputStream aOutputStream, char aCsvDelimiter)
Constructs aCsvRecordsWriter
with the given header for logging.CsvRecordsWriter(Header<T> aHeader, java.io.PrintStream aPrintStream)
Constructs aCsvRecordsWriter
with the given header for logging.CsvRecordsWriter(Header<T> aHeader, java.io.PrintStream aPrintStream, char aCsvDelimiter)
Constructs aCsvRecordsWriter
with the given header for logging.CsvRecordsWriter(Header<T> aHeader, ColumnFactory<T> aColumnFactory, java.io.PrintStream aOutputStream, char aCsvDelimiter)
Constructs aCsvRecordsWriter
with the given header for logging.CsvStringRecordsReader(Header<java.lang.String> aHeader, java.io.File aCsvFile)
CsvStringRecordsReader(Header<java.lang.String> aHeader, java.io.File aCsvFile, boolean isStrict)
CsvStringRecordsReader(Header<java.lang.String> aHeader, java.io.File aCsvFile, char aCsvSeparator)
CsvStringRecordsReader(Header<java.lang.String> aHeader, java.io.File aCsvFile, char aCsvSeparator, boolean isStrict)
CsvStringRecordsReader(Header<java.lang.String> aHeader, java.io.InputStream aCsvInputStream)
CsvStringRecordsReader(Header<java.lang.String> aHeader, java.io.InputStream aCsvInputStream, boolean isStrict)
CsvStringRecordsReader(Header<java.lang.String> aHeader, java.io.InputStream aCsvInputStream, char aCsvDelimiter)
CsvStringRecordsReader(Header<java.lang.String> aHeader, java.io.InputStream aCsvInputStream, char aCsvDelimiter, boolean isStrict)
CsvStringRecordsReader(Header<java.lang.String> aHeader, ColumnFactory<java.lang.String> aColumnFactory, java.io.InputStream aCsvInputStream, char aCsvDelimiter, boolean isStrict)
CsvStringRecordsWriter(Header<java.lang.String> aHeader, java.io.File aFile)
CsvStringRecordsWriter(Header<java.lang.String> aHeader, java.io.File aFile, char aCsvDelimiter)
CsvStringRecordsWriter(Header<java.lang.String> aHeader, java.io.OutputStream aOutputStream)
CsvStringRecordsWriter(Header<java.lang.String> aHeader, java.io.OutputStream aOutputStream, char aCsvDelimiter)
CsvStringRecordsWriter(Header<java.lang.String> aHeader, java.io.PrintStream aPrintStream)
CsvStringRecordsWriter(Header<java.lang.String> aHeader, java.io.PrintStream aPrintStream, char aCsvDelimiter)
RowsImpl(Header<T> aHeader, java.util.Collection<Row<T>> aRows)
RowsImpl(Header<T> aHeader, Row<T>... aRows)
-