Class ExcelSourceTableSpec
java.lang.Object
com.orchestranetworks.addon.dint.dataconnector.spec.TableSpec
com.orchestranetworks.addon.dint.dataconnector.spec.ExcelSourceTableSpec
public final class ExcelSourceTableSpec
extends com.orchestranetworks.addon.dint.dataconnector.spec.TableSpec
Specification for an
ExcelSourceTable
.- Since:
- 4.1.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Builder for creating anExcelSourceTableSpec
instance. -
Method Summary
Modifier and TypeMethodDescriptiongetFile()
Returns the source file.Returns the file where invalid records are written.char
Returns the list separator character.Returns the sheet name.int
Returns the start column of the data table.int
Returns the start row of the data table.boolean
Returnstrue
if the file contains a header row.newBuilder
(File file) Create a builder instance.
-
Method Details
-
newBuilder
Create a builder instance.- Parameters:
file
- The source file.
-
getFile
Returns the source file. -
getSheetName
Returns the sheet name. -
getStartRow
public int getStartRow()Returns the start row of the data table. Returns1
by default. -
getStartColumn
public int getStartColumn()Returns the start column of the data table.Returns
1
by default. -
getListSeparator
public char getListSeparator()Returns the list separator character.Returns line-break by default.
- Since:
- 4.2.0
-
isColumnHeaderIncluded
public boolean isColumnHeaderIncluded()Returnstrue
if the file contains a header row.Returns
true
by default. -
getInvalidDataFile
Returns the file where invalid records are written.Returns
null
by default.- Since:
- 4.5.0
-