com.supermap.data.conversion
类 ExportSettingTIF

java.lang.Object
  继承者 com.supermap.data.conversion.ExportSetting
      继承者 com.supermap.data.conversion.ExportSettingTIF

public class ExportSettingTIF
extends ExportSetting

TIF(Tag Image File)文件导出的参数类。继承自 ExportSetting 类。


构造方法摘要
ExportSettingTIF()
          默认构造函数,构造一个新的 ExportSettingTIF 对象。
ExportSettingTIF(ExportSettingTIF exportSettingTIF)
          拷贝构造函数,根据给定的 ExportSettingTIF 对象构造一个与其完全相同的新对象。
ExportSettingTIF(java.lang.Object sourceData, java.lang.String targetFilePath, FileType targetFileType)
          根据指定的参数构造 ExportSettingTIF 类的新实例。
 
方法摘要
 FileType getTargetFileType()
          返回导出的目标文件的类型。
 boolean isExportAsTile()
          获取是否以块的方式导出,默认为false
 boolean isExportingGeoTransformFile()
          返回是否将仿射转换信息导出外部文件,默认为 true,即导出到外部的 tfw 文件中,否则投影信息会导出到 tiff 文件中。
 boolean isExportingPRJFile()
          已过时。 该方法已经过时。使用系统内部默认值 true,即默认导出投影文件。 返回是否将投影信息导出到外部 PRJ 文件,默认为 true,即导出到外部的 prj 文件中,否则投影信息会导出到 tiff 文件中。
 void setExportAsTile(boolean bExportAsTile)
          设置是否以块的方式导出,默认为false
 void setExportingGeoTransformFile(boolean value)
          设置是否将仿射转换信息导出外部文件,默认为 true,即导出到外部的 tfw 文件中,否则投影信息会导出到 tiff 文件中。
 void setExportingPRJFile(boolean value)
          已过时。 该方法已经过时。使用系统内部默认值 true,即默认导出投影文件。 设置是否将投影信息导出到外部 PRJ 文件。

默认为 true,即导出到外部的 prj 文件中,否则投影信息会导出到 tiff 文件中。

 void setTargetFileType(FileType type)
          设置导出的目标文件的类型。
 
从类 com.supermap.data.conversion.ExportSetting 继承的方法
fromXML, getFilter, getIgnoreFieldNames, getSourceData, getSupportedFileType, getTargetFileCharset, getTargetFilePath, isOverwrite, setFilter, setIgnoreFieldNames, setOverwrite, setSourceData, setTargetFileCharset, setTargetFilePath, toXML
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

ExportSettingTIF

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


ExportSettingTIF

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

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

ExportSettingTIF

public ExportSettingTIF(java.lang.Object sourceData,
                        java.lang.String targetFilePath,
                        FileType targetFileType)
根据指定的参数构造 ExportSettingTIF 类的新实例。

参数:
sourceData - 源数据。
targetFilePath - 给定的导出目标文件的路径。
targetFileType - 给定的导出的目标文件的类型。
方法详细信息

isExportingPRJFile

public boolean isExportingPRJFile()
已过时。 该方法已经过时。使用系统内部默认值 true,即默认导出投影文件。 返回是否将投影信息导出到外部 PRJ 文件,默认为 true,即导出到外部的 prj 文件中,否则投影信息会导出到 tiff 文件中。

返回:
一个布尔值,true 表示将投影信息导出到外部 PRJ 文件,false 表示否。

setExportingPRJFile

public void setExportingPRJFile(boolean value)
已过时。 该方法已经过时。使用系统内部默认值 true,即默认导出投影文件。 设置是否将投影信息导出到外部 PRJ 文件。

默认为 true,即导出到外部的 prj 文件中,否则投影信息会导出到 tiff 文件中。

参数:
value - 是否将投影信息导出到外部 PRJ 文件。

isExportAsTile

public boolean isExportAsTile()
获取是否以块的方式导出,默认为false

返回:
一个布尔值,true 表示以块的方式导出,false 表示不以块的方式导出。

setExportAsTile

public void setExportAsTile(boolean bExportAsTile)
设置是否以块的方式导出,默认为false

参数:
bExportAsTile - 一个布尔值,true 表示以块的方式导出,false 表示不以块的方式导出。

isExportingGeoTransformFile

public boolean isExportingGeoTransformFile()
返回是否将仿射转换信息导出外部文件,默认为 true,即导出到外部的 tfw 文件中,否则投影信息会导出到 tiff 文件中。仿射转换(affine transformations)是指图像坐标和地理坐标的映射。

返回:
是否将仿射转换信息导出外部文件。

setExportingGeoTransformFile

public void setExportingGeoTransformFile(boolean value)
设置是否将仿射转换信息导出外部文件,默认为 true,即导出到外部的 tfw 文件中,否则投影信息会导出到 tiff 文件中。仿射转换(affine transformations)是指图像坐标和地理坐标的映射。

参数:
value - 是否将仿射转换信息导出外部文件。

getTargetFileType

public FileType getTargetFileType()
返回导出的目标文件的类型。

覆盖:
ExportSetting 中的 getTargetFileType
返回:
导出的目标文件的类型。

setTargetFileType

public void setTargetFileType(FileType type)
设置导出的目标文件的类型。

覆盖:
ExportSetting 中的 setTargetFileType
参数:
type - 导出的目标文件的类型。