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.TableSpecSpecification for anExcelSourceTable.- Since:
- 4.1.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExcelSourceTableSpec.ExcelSourceTableSpecBuilderBuilder for creating anExcelSourceTableSpecinstance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.FilegetFile()Returns the source file.java.io.FilegetInvalidDataFile()Returns the file where invalid records are written.chargetListSeparator()Returns the list separator character.java.lang.StringgetSheetName()Returns the sheet name.intgetStartColumn()Returns the start column of the data table.intgetStartRow()Returns the start row of the data table.booleanisColumnHeaderIncluded()Returnstrueif the file contains a header row.static ExcelSourceTableSpec.ExcelSourceTableSpecBuildernewBuilder(java.io.File file)Create a builder instance.
-
-
-
Method Detail
-
newBuilder
public static ExcelSourceTableSpec.ExcelSourceTableSpecBuilder newBuilder(java.io.File file)
Create a builder instance.- Parameters:
file- The source file.
-
getFile
public java.io.File getFile()
Returns the source file.
-
getSheetName
public java.lang.String getSheetName()
Returns the sheet name.
-
getStartRow
public int getStartRow()
Returns the start row of the data table. Returns1by default.
-
getStartColumn
public int getStartColumn()
Returns the start column of the data table.Returns
1by default.
-
getListSeparator
public char getListSeparator()
Returns the list separator character.Returns line-break by default.
- Since:
- 4.2.0
-
isColumnHeaderIncluded
public boolean isColumnHeaderIncluded()
Returnstrueif the file contains a header row.Returns
trueby default.
-
getInvalidDataFile
public java.io.File getInvalidDataFile()
Returns the file where invalid records are written.Returns
nullby default.- Since:
- 4.5.0
-
-