com.supermap.data.conversion
Class ImportSettingSHP
- java.lang.Object
-
- com.supermap.data.InternalHandle
-
- com.supermap.data.InternalHandleDisposable
-
- com.supermap.data.conversion.ImportSetting
-
- com.supermap.data.conversion.ImportSettingSHP
-
public class ImportSettingSHP extends ImportSetting
-
-
Constructor Summary
Constructors Constructor and Description ImportSettingSHP()
The default constructor creates a new ImportSettingMIF objectImportSettingSHP(ImportSettingSHP ImportSettingSHP)
Copy the constructor, and return an ImportSettingMIF object with the same set of informationImportSettingSHP(java.lang.String sourceFilePath, Datasource targetDatasource)
ImportSettingSHP(java.lang.String sourceFilePath, DatasourceConnectionInfo targetConnectionInfo)
Constructs an ImportSettingSHP object by specifying the source file
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
dispose()
SpatialIndexInfo
getSpatialIndex()
Gets spatial index informationboolean
isAttributeIgnored()
Gets whether or not to ignore the attributeboolean
isImporttingAs3D()
Gets whether to import as a 3D dataset. false is by fault.void
setAttributeIgnored(boolean value)
Sets whether or not to ignore attributesvoid
setImporttingAs3D(boolean value)
void
setSpatialIndex(SpatialIndexInfo value)
-
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
-
ImportSettingSHP
public ImportSettingSHP()
The default constructor creates a new ImportSettingMIF object
-
ImportSettingSHP
public ImportSettingSHP(ImportSettingSHP ImportSettingSHP)
Copy the constructor, and return an ImportSettingMIF object with the same set of information- Parameters:
ImportSettingSHP
-
-
ImportSettingSHP
public ImportSettingSHP(java.lang.String sourceFilePath, Datasource targetDatasource)
-
ImportSettingSHP
public ImportSettingSHP(java.lang.String sourceFilePath, DatasourceConnectionInfo targetConnectionInfo)
Constructs an ImportSettingSHP object by specifying the source file- Parameters:
sourceFilePath
- Source file full pathtargetConnectionInfo
- Target data source connection information
-
-
Method Detail
-
isImporttingAs3D
public boolean isImporttingAs3D()
Gets whether to import as a 3D dataset. false is by fault. It means won't import as a 3D dataset.- Returns:
-
setImporttingAs3D
public void setImporttingAs3D(boolean value)
-
getSpatialIndex
public SpatialIndexInfo getSpatialIndex()
Gets spatial index information- Returns:
- Spatial index information
-
setSpatialIndex
public void setSpatialIndex(SpatialIndexInfo value)
-
isAttributeIgnored
public boolean isAttributeIgnored()
Gets whether or not to ignore the attribute- Returns:
- Whether the attribute is ignored
-
setAttributeIgnored
public void setAttributeIgnored(boolean value)
Sets whether or not to ignore attributes- Parameters:
value
-
-
dispose
public void dispose()
-
-