public final class ExcelImportTemplateSpec extends TemplateSpec
Constructor and Description |
---|
ExcelImportTemplateSpec(String templateId,
File sourceFile,
String sheetName,
com.orchestranetworks.service.Session session)
Constructs a new
ExcelImportTemplateSpec instance. |
Modifier and Type | Method and Description |
---|---|
String |
getSheetName()
Returns the sheet name.
|
File |
getSourceFile()
Returns the source Excel file.
|
getSession, getTemplateId
public ExcelImportTemplateSpec(String templateId, File sourceFile, String sheetName, com.orchestranetworks.service.Session session)
ExcelImportTemplateSpec
instance.templateId
- The unique template id.sourceFile
- The source Excel file.sheetName
- The sheet name of the Excel file.session
- The session.IllegalArgumentException
- If any parameter is null
or source file does not exist.