com.supermap.data.conversion
类 ImportSettingTEMSTextLabels

java.lang.Object
  继承者 com.supermap.data.conversion.ImportSetting
      继承者 com.supermap.data.conversion.ImportSettingTEMSTextLabels

public class ImportSettingTEMSTextLabels
extends ImportSetting

电信行业数据矢量地物标注(TEMSTEXT)数据的导入的参数设置类,继承自 ImportSetting 类。

导入后的结果为点数据集,文本注记为其属性字段LabelName

注意: 传入的文件型的数据源和工作空间连接信息,在传入之前不能被打开,否则会导入失败。


构造方法摘要
ImportSettingTEMSTextLabels()
          默认构造函数,构造一个新的 ImportSettingTEMSTextLabels 对象。
ImportSettingTEMSTextLabels(ImportSettingTEMSTextLabels importSettingTEMSTextLabels)
          拷贝构造函数,根据给定的 ImportSettingTEMSTextLabels 对象构造一个与其完全相同的新对象。
ImportSettingTEMSTextLabels(java.lang.String sourceFilePath, Datasource targetDatasource)
          根据指定的参数构造 ImportSettingTEMSTextLabels 类的新实例。
ImportSettingTEMSTextLabels(java.lang.String sourceFilePath, DatasourceConnectionInfo targetConnectionInfo)
          根据指定的参数构造 ImportSettingTEMSTextLabels 类的新实例。
 
方法摘要
 void dispose()
          释放该对象所占用的资源。
 SpatialIndexInfo getSpatialIndex()
          返回空间索引信息。
 boolean isImportEmptyDataset()
          获取是否导入空的数据集
 void setImportEmptyDataset(boolean bImportEmptyDT)
          设置是否导入空的数据集,默认是不导入的
 void setSpatialIndex(SpatialIndexInfo value)
          设置空间索引信息。
 
从类 com.supermap.data.conversion.ImportSetting 继承的方法
fromXML, getEncodeType, getImportMode, getSourceFileCharset, getSourceFilePath, getSourceFileType, getSourcePrjCoordSys, getTargetDataInfos, getTargetDataInfos, getTargetDatasetName, getTargetDatasource, getTargetDatasourceConnectionInfo, getTargetEncodeType, getTargetPrjCoordSys, isUseFME, setEncodeType, setFieldValue, setImportMode, setScalingFactor, setSourceFileCharset, setSourceFilePath, setTargetDataInfos, setTargetDatasetName, setTargetDatasource, setTargetDatasourceConnectionInfo, setTargetEncodeType, setTargetPrjCoordSys, setUseFME, toXML
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

ImportSettingTEMSTextLabels

public ImportSettingTEMSTextLabels()
默认构造函数,构造一个新的 ImportSettingTEMSTextLabels 对象。


ImportSettingTEMSTextLabels

public ImportSettingTEMSTextLabels(ImportSettingTEMSTextLabels importSettingTEMSTextLabels)
拷贝构造函数,根据给定的 ImportSettingTEMSTextLabels 对象构造一个与其完全相同的新对象。

参数:
importSettingTEMSTextLabels - 用于初始化 ImportSettingTEMSTextLabels 新实例的对象。

ImportSettingTEMSTextLabels

public ImportSettingTEMSTextLabels(java.lang.String sourceFilePath,
                                   DatasourceConnectionInfo targetConnectionInfo)
根据指定的参数构造 ImportSettingTEMSTextLabels 类的新实例。

参数:
sourceFilePath - 指定的导入 TEMSTextLabels 格式数据的源文件路径。
targetConnectionInfo - 指定的导入到目标数据源的连接信息对象。

ImportSettingTEMSTextLabels

public ImportSettingTEMSTextLabels(java.lang.String sourceFilePath,
                                   Datasource targetDatasource)
根据指定的参数构造 ImportSettingTEMSTextLabels 类的新实例。

参数:
sourceFilePath - 指定的导入 TEMSTextLabels 格式数据的源文件路径。
targetDatasource - 指定导入的目标数据源对象。
方法详细信息

getSpatialIndex

public SpatialIndexInfo getSpatialIndex()
返回空间索引信息。

返回:
空间索引信息。

setSpatialIndex

public void setSpatialIndex(SpatialIndexInfo value)
设置空间索引信息。

参数:
value - 设置空间索引信息。

dispose

public void dispose()
释放该对象所占用的资源。当调用该方法之后,此对象不再可用。


setImportEmptyDataset

public void setImportEmptyDataset(boolean bImportEmptyDT)
设置是否导入空的数据集,默认是不导入的

参数:
bImportEmptyDT - 是否导入空的数据集,true表示导入,false表示不导入

isImportEmptyDataset

public boolean isImportEmptyDataset()
获取是否导入空的数据集

返回:
是否导入空的数据集