com.supermap.data.conversion
类 ImportSettingRAW
- java.lang.Object
-
- com.supermap.data.InternalHandle
-
- com.supermap.data.InternalHandleDisposable
-
- com.supermap.data.conversion.ImportSetting
-
- com.supermap.data.conversion.ImportSettingRAW
-
- 所有已实现的接口:
- IDisposable
public class ImportSettingRAW extends ImportSetting
RAW 文件导入的参数设置类。继承于ImportSetting
类。注意: 传入的文件型的数据源和工作空间连接信息,在传入之前不能被打开,否则会导入失败。
-
-
构造器概要
构造器 构造器和说明 ImportSettingRAW()
默认构造函数,构造一个新的 ImportSettingRAW 对象。ImportSettingRAW(ImportSettingRAW importSettingRAW)
拷贝构造函数,根据给定的 ImportSettingRAW 对象构造一个与其完全相同的新对象。ImportSettingRAW(String sourceFilePath, Datasource targetDatasource)
根据指定的参数构造 ImportSettingRAW 类的新实例。ImportSettingRAW(String sourceFilePath, DatasourceConnectionInfo targetConnectionInfo)
根据指定的参数构造 ImportSettingRAW 类的新实例。
-
方法概要
所有方法 实例方法 具体方法 限定符和类型 方法和说明 void
dispose()
释放该对象所占用的资源。IgnoreMode
getIgnoreMode()
返回 RAW 文件的忽略颜色值的模式。double[]
getIgnoreValues()
返回要忽略的颜色值。boolean
isPyramidBuilt()
返回是否自动建立影像金字塔。void
setBandCount(int bandCount)
设置导入的波段数。void
setBounds(Rectangle2D rcBounds)
设置导入范围。void
setCols(int nCol)
设置开始列数。void
setIgnoreMode(IgnoreMode ignoreMode)
设置 RAW 文件的忽略颜色值的模式。void
setIgnoreValues(double[] ignoreValues)
设置要忽略的颜色值。void
setPixelFormat(PixelFormat pixelFormat)
设置导入的像素格式。void
setPyramidBuilt(boolean value)
设置是否自动建立影像金字塔。void
setRows(int nRow)
设置开始行数。-
从类继承的方法 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
-
-
-
-
构造器详细资料
-
ImportSettingRAW
public ImportSettingRAW()
默认构造函数,构造一个新的 ImportSettingRAW 对象。
-
ImportSettingRAW
public ImportSettingRAW(ImportSettingRAW importSettingRAW)
拷贝构造函数,根据给定的 ImportSettingRAW 对象构造一个与其完全相同的新对象。- 参数:
importSettingRAW
- 用于初始化 ImportSettingRAW 新实例的对象。
-
ImportSettingRAW
public ImportSettingRAW(String sourceFilePath, DatasourceConnectionInfo targetConnectionInfo)
根据指定的参数构造 ImportSettingRAW 类的新实例。- 参数:
sourceFilePath
- 指定的被导入的 RAW 格式数据的源文件的路径。targetConnectionInfo
- 指定的导入的目标数据源连接信息对象。
-
ImportSettingRAW
public ImportSettingRAW(String sourceFilePath, Datasource targetDatasource)
根据指定的参数构造 ImportSettingRAW 类的新实例。- 参数:
sourceFilePath
- 指定的被导入的 RAW 格式数据的源文件的路径。targetDatasource
- 目标数据源。
-
-
方法详细资料
-
isPyramidBuilt
public boolean isPyramidBuilt()
返回是否自动建立影像金字塔。默认为 false,表示默认情况下不对影像数据建立影像金字塔。- 返回:
- 一个布尔值,自动建立影像金字塔返回 true,否则返回 false。
- 默认值:
- 默认值为 false。
-
setPyramidBuilt
public void setPyramidBuilt(boolean value)
设置是否自动建立影像金字塔。默认为 false,表示默认情况下不对影像数据建立影像金字塔。- 参数:
value
- 是否自动建立影像金字塔。
-
setIgnoreMode
public void setIgnoreMode(IgnoreMode ignoreMode)
设置 RAW 文件的忽略颜色值的模式。- 参数:
ignoreMode
- 忽略颜色值的模式。
-
getIgnoreMode
public IgnoreMode getIgnoreMode()
返回 RAW 文件的忽略颜色值的模式。- 返回:
- RAW 文件的忽略颜色值的模式。
-
getIgnoreValues
public double[] getIgnoreValues()
返回要忽略的颜色值。- 返回:
- 一个颜色值数组对象,数组中的值对应的颜色会被忽略。
-
setIgnoreValues
public void setIgnoreValues(double[] ignoreValues)
设置要忽略的颜色值。- 参数:
ignoreValues
- 一个颜色值数组对象。
-
dispose
public void dispose()
释放该对象所占用的资源。当调用该方法之后,此对象不再可用。
-
setRows
public void setRows(int nRow)
设置开始行数。- 参数:
nRow
- 行数。
-
setCols
public void setCols(int nCol)
设置开始列数。- 参数:
nCol
- 列数。
-
setBandCount
public void setBandCount(int bandCount)
设置导入的波段数。- 参数:
bandCount
- 波段数。
-
setPixelFormat
public void setPixelFormat(PixelFormat pixelFormat)
设置导入的像素格式。- 参数:
pixelFormat
- 像素格式 。
-
setBounds
public void setBounds(Rectangle2D rcBounds)
设置导入范围。- 参数:
rcBounds
- 二维矩形范围。
-
-
Copyright © 2021–2024 SuperMap. All rights reserved.