com.supermap.data.conversion
类 ImportSettingJP2
- java.lang.Object
-
- com.supermap.data.InternalHandle
-
- com.supermap.data.InternalHandleDisposable
-
- com.supermap.data.conversion.ImportSetting
-
- com.supermap.data.conversion.ImportSettingJP2
-
- 所有已实现的接口:
- IDisposable
public class ImportSettingJP2 extends ImportSetting
JP2 文件导入的参数设置类。继承自ImportSetting
类。
-
-
构造器概要
构造器 构造器和说明 ImportSettingJP2()
默认构造函数,创建一个新的ImportSettingJP2对象ImportSettingJP2(ImportSettingJP2 importSettingJP2)
拷贝构造函数,返回一个设置信息相同的ImportSettingJP2对象ImportSettingJP2(String sourceFilePath, Datasource targetDatasource)
根据指定的参数构造 ImportSettingJP2 类的新实例。ImportSettingJP2(String sourceFilePath, DatasourceConnectionInfo targetConnectionInfo)
根据指定的参数构造 ImportSettingJP2 类的新实例。
-
方法概要
所有方法 实例方法 具体方法 限定符和类型 方法和说明 void
dispose()
释放该对象所占用的资源。IgnoreMode
getIgnoreMode()
返回 JP2 文件的忽略颜色值的模式。double[]
getIgnoreValues()
返回要忽略的颜色值。MultiBandImportMode
getMultiBandImportMode()
获取多波段导入模式。boolean
isImportingAsGrid()
返回是否导入为Grid
数据集。void
setIgnoreMode(IgnoreMode ignoreMode)
设置 JP2 文件的忽略颜色值的模式。void
setIgnoreValues(double[] ignoreValues)
设置要忽略的颜色值。void
setImportingAsGrid(boolean value)
设置是否导入为Grid
数据集。-
从类继承的方法 com.supermap.data.conversion.ImportSetting
fromXML, getEncodeType, getImportMode, getSourceFileCharset, getSourceFilePath, getSourceFileType, getSourcePrjCoordSys, getTargetDataInfos, getTargetDataInfos, getTargetDatasetName, getTargetDatasource, getTargetDatasourceConnectionInfo, getTargetEncodeType, getTargetPrjCoordSys, isUseFME, setEnableMultiThread, setEncodeType, setFieldValue, setImportMode, setScalingFactor, setSourceFileCharset, setSourceFilePath, setTargetDataInfos, setTargetDatasetName, setTargetDatasource, setTargetDatasourceConnectionInfo, setTargetEncodeType, setTargetPrjCoordSys, setUseFME, toXML
-
-
-
-
构造器详细资料
-
ImportSettingJP2
public ImportSettingJP2()
默认构造函数,创建一个新的ImportSettingJP2对象
-
ImportSettingJP2
public ImportSettingJP2(ImportSettingJP2 importSettingJP2)
拷贝构造函数,返回一个设置信息相同的ImportSettingJP2对象- 参数:
importSettingJP2
- 用于初始化 ImportSettingJP2 新实例的对象
-
ImportSettingJP2
public ImportSettingJP2(String sourceFilePath, DatasourceConnectionInfo targetConnectionInfo)
根据指定的参数构造 ImportSettingJP2 类的新实例。- 参数:
sourceFilePath
- 源文件路径。targetConnectionInfo
- 目标数据源连接信息。
-
ImportSettingJP2
public ImportSettingJP2(String sourceFilePath, Datasource targetDatasource)
根据指定的参数构造 ImportSettingJP2 类的新实例。- 参数:
sourceFilePath
- 指定的被导入的 JP2 格式数据的源文件的路径。targetDatasource
- 指定导入的目标数据源对象。
-
-
方法详细资料
-
isImportingAsGrid
public boolean isImportingAsGrid()
返回是否导入为Grid
数据集。- 返回:
- 一个布尔值,表示是否导入为 Grid 数据集。导入为 Grid 数据集返回 true,否则返回 false。
- 默认值:
- 默认值为 false,即按源数据集类型导入数据集。
-
setImportingAsGrid
public void setImportingAsGrid(boolean value)
设置是否导入为Grid
数据集。- 参数:
value
- 是否导入为 Grid 数据集。
-
setIgnoreMode
public void setIgnoreMode(IgnoreMode ignoreMode)
设置 JP2 文件的忽略颜色值的模式。- 参数:
ignoreMode
- 忽略颜色值的模式。
-
getIgnoreMode
public IgnoreMode getIgnoreMode()
返回 JP2 文件的忽略颜色值的模式。- 返回:
- JP2 文件的忽略颜色值的模式。
-
getIgnoreValues
public double[] getIgnoreValues()
返回要忽略的颜色值。- 返回:
- 一个颜色值数组对象,数组中的值对应的颜色会被忽略。
-
setIgnoreValues
public void setIgnoreValues(double[] ignoreValues)
设置要忽略的颜色值。- 参数:
ignoreValues
- 一个颜色值数组对象。
-
getMultiBandImportMode
public MultiBandImportMode getMultiBandImportMode()
获取多波段导入模式。- 返回:
- 多波段导入模式类型。
-
dispose
public void dispose()
释放该对象所占用的资源。当调用该方法之后,此对象不再可用。
-
-
Copyright © 2021–2024 SuperMap. All rights reserved.