com.supermap.data.conversion
Class ImportSettingTIF
- java.lang.Object
-
- com.supermap.data.InternalHandle
-
- com.supermap.data.InternalHandleDisposable
-
- com.supermap.data.conversion.ImportSetting
-
- com.supermap.data.conversion.ImportSettingTIF
-
public class ImportSettingTIF extends ImportSetting
TIF file import parameter class
-
-
Constructor Summary
Constructors Constructor and Description ImportSettingTIF()
The default constructor creates a new ImportSettingTIF objectImportSettingTIF(ImportSettingTIF importSettingTIF)
Copy the constructor, and return an ImportSettingTIF object with the same set of informationImportSettingTIF(java.lang.String sourceFilePath, Datasource targetDatasource)
Create import parameter objects based on the import file path and the imported data sourceImportSettingTIF(java.lang.String sourceFilePath, DatasourceConnectionInfo targetConnectionInfo)
Constructs an ImportSettingTIF object by specifying the source file
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
dispose()
Disposes resources.MultiBandImportMode
getMultiBandImportMode()
Get multi-band import modeboolean
isImportingAsGrid()
Gets whether to import as a Grid datasetvoid
setImportingAsGrid(boolean value)
Set whether to import as a Grid datasetvoid
setMultiBandImportMode(MultiBandImportMode mode)
Set the multi-band import mode-
Methods inherited from class com.supermap.data.conversion.ImportSetting
getEncodeType, getSourceFileCharset, getSourceFilePath, getSourceFileType, getSourcePrjCoordSys, getTargetDatasetName, getTargetDatasource, getTargetDatasourceConnectionInfo, getTargetEncodeType, getTargetPrjCoordSys, setEncodeType, setImportEmptyDataset, setSourceFileCharset, setSourceFilePath, setTargetDatasetName, setTargetDatasource, setTargetDatasourceConnectionInfo, setTargetEncodeType, setTargetPrjCoordSys
-
-
-
-
Constructor Detail
-
ImportSettingTIF
public ImportSettingTIF()
The default constructor creates a new ImportSettingTIF object
-
ImportSettingTIF
public ImportSettingTIF(ImportSettingTIF importSettingTIF)
Copy the constructor, and return an ImportSettingTIF object with the same set of information- Parameters:
importSettingTIF
- Copied object
-
ImportSettingTIF
public ImportSettingTIF(java.lang.String sourceFilePath, DatasourceConnectionInfo targetConnectionInfo)
Constructs an ImportSettingTIF object by specifying the source file- Parameters:
sourceFilePath
- Source file full pathtargetConnectionInfo
- Target data source connection information
-
ImportSettingTIF
public ImportSettingTIF(java.lang.String sourceFilePath, Datasource targetDatasource)
Create import parameter objects based on the import file path and the imported data source- Parameters:
sourceFilePath
- Import file pathtargetDatasource
- Imported data source
-
-
Method Detail
-
isImportingAsGrid
public boolean isImportingAsGrid()
Gets whether to import as a Grid dataset- Returns:
- Whether it is imported into a Grid dataset
-
setImportingAsGrid
public void setImportingAsGrid(boolean value)
Set whether to import as a Grid dataset- Parameters:
value
- Whether it is imported into a Grid dataset
-
getMultiBandImportMode
public MultiBandImportMode getMultiBandImportMode()
Get multi-band import mode- Returns:
- Multi-band import mode
-
setMultiBandImportMode
public void setMultiBandImportMode(MultiBandImportMode mode)
Set the multi-band import mode- Parameters:
mode
- Multi-band import mode
-
dispose
public void dispose()
Disposes resources.
-
-