insensa.exports
Class GeotiffExporter

java.lang.Object
  extended by insensa.exports.GeotiffExporter
All Implemented Interfaces:
FileExporter

public class GeotiffExporter
extends java.lang.Object
implements FileExporter


Field Summary
private  java.util.Vector<java.lang.String> optionVector
           
private  java.lang.String outputFilePath
           
private  java.util.List<CRasterFileInformation> rasterFileList
           
private  java.lang.String separator
           
private  WorkerStatusCallback workerStatusCallback
           
 
Constructor Summary
GeotiffExporter()
           
 
Method Summary
 void export()
          This method gets called after FileExporter.setOutputFilePath(String) and FileExporter.setRasterFileList(List) are finished.
 java.util.Vector<java.lang.String> getOptionVector()
           
 void setOptionVector(java.util.Vector<java.lang.String> optionVector)
           
 void setOutputFilePath(java.lang.String outputFilePath)
          Listener method that gets called when the output filepath is selected from a registered Settings Dialog ( IViewFileExporterSetting )
 void setRasterFileList(java.util.List<CRasterFileInformation> rasterFileList)
           
 void setWorkerStatusCallback(WorkerStatusCallback callback)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rasterFileList

private java.util.List<CRasterFileInformation> rasterFileList

outputFilePath

private java.lang.String outputFilePath

workerStatusCallback

private WorkerStatusCallback workerStatusCallback

separator

private java.lang.String separator

optionVector

private java.util.Vector<java.lang.String> optionVector
Constructor Detail

GeotiffExporter

public GeotiffExporter()
Method Detail

export

public void export()
            throws java.io.IOException
Description copied from interface: FileExporter
This method gets called after FileExporter.setOutputFilePath(String) and FileExporter.setRasterFileList(List) are finished. It is responsible for the actual export work.

Specified by:
export in interface FileExporter
Throws:
java.io.IOException
See Also:
FileExporter.export()

getOptionVector

public java.util.Vector<java.lang.String> getOptionVector()
Returns:

setOptionVector

public void setOptionVector(java.util.Vector<java.lang.String> optionVector)
Parameters:
optionVector -

setOutputFilePath

public void setOutputFilePath(java.lang.String outputFilePath)
Description copied from interface: FileExporter
Listener method that gets called when the output filepath is selected from a registered Settings Dialog ( IViewFileExporterSetting )

Specified by:
setOutputFilePath in interface FileExporter
Parameters:
outputFilePath - the chosen output filepath
See Also:
FileExporter.setOutputFilePath(java.lang.String)

setRasterFileList

public void setRasterFileList(java.util.List<CRasterFileInformation> rasterFileList)
Specified by:
setRasterFileList in interface FileExporter
Parameters:
rasterFileList - the chosen CRasterFileInformation
See Also:
FileExporter.setRasterFileList(java.util.List)

setWorkerStatusCallback

public void setWorkerStatusCallback(WorkerStatusCallback callback)
Specified by:
setWorkerStatusCallback in interface FileExporter
Parameters:
callback - a listener object
See Also:
FileExporter.setWorkerStatusCallback(insensa.helpers.WorkerStatusCallback)