public class ImportSettingDWG extends ImportSetting
构造器和说明 |
---|
ImportSettingDWG()
默认构造函数,创建一个新的ImportSettingDWG对象
|
ImportSettingDWG(ImportSettingDWG importSettingDWG)
拷贝构造函数,返回一个设置信息相同的ImportSettingDWG对象
|
ImportSettingDWG(java.lang.String sourceFilePath, Datasource targetDatasource)
构造函数,根据指定源文件构造一个新的ImportSettingDWG对象
|
ImportSettingDWG(java.lang.String sourceFilePath, DatasourceConnectionInfo targetConnectionInfo)
通过指定源文件来构造一个ImportSettingDWG对象
|
限定符和类型 | 方法和说明 |
---|---|
void |
dispose()
释放资源
|
boolean |
getIsBlackWhiteInverse()
是否黑白反色
|
SpatialIndexInfo |
getSpatialIndex()
获取空间索引类型,当isSpatialIndexAutoBuilt属性为true时有效
|
java.lang.String |
getStyleMapFilePath()
获取风格对照路径
|
boolean |
isAttributeIgnored()
获取是否忽略属性
|
boolean |
isImportingAsCAD()
获取目标数据集类型是否为CAD类型,默认为true
|
void |
setAttributeIgnored(boolean value)
设置是否忽略属性
|
void |
setImportingAsCAD(boolean value)
设置导入模式,即目标数据集类型,即导入为CAD数据集, 否则为数据对应类型的简单矢量数据集
|
void |
setIsBlackWhiteInverse(boolean inverse)
设置是否黑白反色
|
void |
setSpatialIndex(SpatialIndexInfo value)
设置空间索引类型
|
void |
setStyleMapFilePath(java.lang.String value)
设置风格对照路径
|
getEncodeType, getSourceFileCharset, getSourceFilePath, getSourceFileType, getSourcePrjCoordSys, getTargetDatasetName, getTargetDatasource, getTargetDatasourceConnectionInfo, getTargetEncodeType, getTargetPrjCoordSys, setEncodeType, setImportEmptyDataset, setSourceFileCharset, setSourceFilePath, setTargetDatasetName, setTargetDatasource, setTargetDatasourceConnectionInfo, setTargetEncodeType, setTargetPrjCoordSys
public ImportSettingDWG()
public ImportSettingDWG(ImportSettingDWG importSettingDWG)
importSettingDWG
- 设置参数public ImportSettingDWG(java.lang.String sourceFilePath, DatasourceConnectionInfo targetConnectionInfo)
sourceFilePath
- 源文件全路径targetConnectionInfo
- 目标数据源连接信息public ImportSettingDWG(java.lang.String sourceFilePath, Datasource targetDatasource)
sourceFilePath
- 源文件全路径targetDatasource
- 目标数据源public boolean isImportingAsCAD()
public void setImportingAsCAD(boolean value)
value
- 是否导入为CAD数据集public SpatialIndexInfo getSpatialIndex()
public void setSpatialIndex(SpatialIndexInfo value)
value
- 空间索引类型public boolean isAttributeIgnored()
public void setAttributeIgnored(boolean value)
value
- 是否忽略属性public java.lang.String getStyleMapFilePath()
public void setStyleMapFilePath(java.lang.String value)
value
- 路径public void dispose()
public void setIsBlackWhiteInverse(boolean inverse)
inverse
- 是否黑白反色public boolean getIsBlackWhiteInverse()