@Retention(value=RUNTIME) @Target(value=FIELD) public @interface ExcelColumnHeader
dataType(),
defaultValue()| Modifier and Type | Required Element and Description |
|---|---|
String |
columnHeader
Data extraction based on the column header instead of column index.
If ExcelFactoryType is COLUMN_NAME_BASED then the first row will be treated as headers. These headers will be used later to fetch the data |
| Modifier and Type | Optional Element and Description |
|---|---|
String |
dataType
Specify the cell data type, if dataType is provided the extracted cell
value is parsed and converted into specified dataType.
|
String |
defaultValue
Specifies the default value, if data is not found in the cell ( either
blank or null ), then it will put the default value
Default values will also be casted in their dataType |
String |
expectedColumnIndex
Specifies the expected column index for that particular header
Helpful in validating excel header name against their expected index. |
public abstract String columnHeader
public abstract String dataType
public abstract String defaultValue
public abstract String expectedColumnIndex
Copyright © 2019 Gizbel Technologies Private Limited. All rights reserved.