Interface Header
@Immutable
public interface Header
Information used by a
RowExtractor
to identify where tabular data is located and the names associated with
each column.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder for creating instances ofHeader
. -
Method Summary
Modifier and TypeMethodDescriptionstatic Header.Builder
builder()
Create aHeader.Builder
for constructing an instance of this class.The 0-indexed column number for the left bound (inclusive) of the table.The 0-indexed column number for the right bound (inclusive) of the table.The 0-indexed row number for the first data row.Column names such that the first item of the list is the column name associated withdataLeftmostColumnNumber()
and the last item of the list is the column name associated withdataRightmostColumnNumber()
.
-
Method Details
-
fieldNames
Column names such that the first item of the list is the column name associated withdataLeftmostColumnNumber()
and the last item of the list is the column name associated withdataRightmostColumnNumber()
. -
dataLeftmostColumnNumber
Integer dataLeftmostColumnNumber()The 0-indexed column number for the left bound (inclusive) of the table. -
dataRightmostColumnNumber
Integer dataRightmostColumnNumber()The 0-indexed column number for the right bound (inclusive) of the table. -
dataTopRowNumber
Integer dataTopRowNumber()The 0-indexed row number for the first data row. -
builder
Create aHeader.Builder
for constructing an instance of this class.
-