public final class CSVImportTemplateSpec extends ImportExportTemplateSpec
Constructor and Description |
---|
CSVImportTemplateSpec(String templateId,
File sourceFile,
com.orchestranetworks.service.Session session)
Constructs a new
CSVImportTemplateSpec instance. |
Modifier and Type | Method and Description |
---|---|
File |
getCSVFile()
Deprecated.
Use
getSourceFile() instead. |
File |
getSourceFile()
Returns source file.
|
getDataset, setDataset
getSession, getTemplateId
public CSVImportTemplateSpec(String templateId, File sourceFile, com.orchestranetworks.service.Session session)
CSVImportTemplateSpec
instance.templateId
- The unique template id.sourceFile
- The source CSV file for import on table, or the archive file for import on dataset.session
- The session.IllegalArgumentException
- If any parameter is null
or source file does not exist.@Deprecated public File getCSVFile()
getSourceFile()
instead.public File getSourceFile()