Class ExcelTargetTableSpec.ExcelTargetTableSpecBuilder
- java.lang.Object
-
- com.orchestranetworks.addon.dint.dataconnector.spec.ExcelTargetTableSpec.ExcelTargetTableSpecBuilder
-
- Enclosing class:
- ExcelTargetTableSpec
public static final class ExcelTargetTableSpec.ExcelTargetTableSpecBuilder extends java.lang.Object
Builder for creating anExcelTargetTableSpec
instance.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExcelTargetTableSpec
build()
Builds anExcelTargetTableSpec
instance.ExcelTargetTableSpec.ExcelTargetTableSpecBuilder
setColumnHeaderIncluded(boolean included)
Specifies if the first row is the header.ExcelTargetTableSpec.ExcelTargetTableSpecBuilder
setColumnHeaders(java.util.List<java.lang.String> columnHeaders)
Sets the column headers.ExcelTargetTableSpec.ExcelTargetTableSpecBuilder
setListSeparator(char listSeparator)
Sets the list separator character.ExcelTargetTableSpec.ExcelTargetTableSpecBuilder
setSheetName(java.lang.String sheetName)
Sets the sheet name.
-
-
-
Method Detail
-
build
public ExcelTargetTableSpec build()
Builds anExcelTargetTableSpec
instance.
-
setSheetName
public ExcelTargetTableSpec.ExcelTargetTableSpecBuilder setSheetName(java.lang.String sheetName)
Sets the sheet name.- Parameters:
sheetName
- The sheet name of target file.- Throws:
java.lang.IllegalArgumentException
- If the sheet name is empty
-
setColumnHeaderIncluded
public ExcelTargetTableSpec.ExcelTargetTableSpecBuilder setColumnHeaderIncluded(boolean included)
Specifies if the first row is the header.- Parameters:
included
- Setstrue
if you want to export header row.
-
setColumnHeaders
public ExcelTargetTableSpec.ExcelTargetTableSpecBuilder setColumnHeaders(java.util.List<java.lang.String> columnHeaders)
Sets the column headers.- Parameters:
columnHeaders
- The column headers.
-
setListSeparator
public ExcelTargetTableSpec.ExcelTargetTableSpecBuilder setListSeparator(char listSeparator)
Sets the list separator character.- Parameters:
listSeparator
- The list separator character.- Throws:
java.lang.IllegalArgumentException
- If the list separator character is a backslash.- Since:
- 4.2.0
-
-