org.gvsig.raster.tools.algorithm.saveraster
Class SaveRasterProcess

java.lang.Object
  extended by org.gvsig.raster.algorithm.process.ProcessUtils
      extended by org.gvsig.raster.algorithm.process.ProcessParamsManagement
          extended by org.gvsig.raster.algorithm.process.DataProcess
              extended by org.gvsig.raster.tools.algorithm.saveraster.SaveRasterProcess
All Implemented Interfaces:
java.lang.Runnable, java.util.EventListener, org.gvsig.raster.algorithm.gui.IIncrementable, org.gvsig.raster.algorithm.gui.IncrementableListener, org.gvsig.tools.dispose.Disposable

public class SaveRasterProcess
extends org.gvsig.raster.algorithm.process.DataProcess

Thread que se encarga de llamar a los writer para realizar la tarea de salvado y/p compresión

Author:
Nacho Brodin (nachobrodin@gmail.com)

Field Summary
static java.lang.String BLOCKSIZE
           
static java.lang.String DIMENSION
           
static java.lang.String FILENAME
           
static java.lang.String FLYRS
           
static java.lang.String PARAMS
           
static java.lang.String PATH
           
static java.lang.String PROJECTION
           
static java.lang.String TIME
           
static java.lang.String VIEWPORT
           
 
Fields inherited from class org.gvsig.raster.algorithm.process.DataProcess
blinker, externalActions, incrementableTask, logger, taskEventManager, taskParams
 
Fields inherited from class org.gvsig.raster.algorithm.process.ProcessParamsManagement
inputParameters, OUTPUT_HEIGHT, OUTPUT_WIDTH, outputParameters, PREVIEW, PROCESS, PROCESS_NAME, REGISTER_INPUT_PARAMETERS_LABEL, REGISTER_OUTPUT_PARAMETERS_LABEL, ROI_EPSG, WINDOW
 
Fields inherited from class org.gvsig.raster.algorithm.process.ProcessUtils
doubleNODATA
 
Constructor Summary
SaveRasterProcess()
           
 
Method Summary
 java.lang.String getLabel()
           
 java.lang.String getLog()
           
 int getPercent()
           
 java.lang.String getTitle()
           
 void init()
           
 void process()
          Procesos de escritura de una porción de la vista.
static void registerParameters()
           
 
Methods inherited from class org.gvsig.raster.algorithm.process.DataProcess
actionCanceled, actionResumed, actionSuspended, addOutputValue, dispose, execute, finalize, getActions, getIncrementableTask, getName, getResult, getTime, getUniqueProcessActions, insertLineLog, isCancelable, isPausable, run, setActions, setCancelable, setName, setProgressActive, setUniqueProcessActions, showIncrementableWindow, start, updatePercent
 
Methods inherited from class org.gvsig.raster.algorithm.process.ProcessParamsManagement
addParam, getBooleanParam, getByteParam, getDoubleArrayParam, getDoubleParam, getExtentParam, getFloatParam, getIntArrayParam, getIntParam, getOutputHeight, getOutputWidth, getOutputWindow, getParam, getParameterClassList, getParameterTypeByProcess, getRasterTaskInputParameters, getRasterTaskOutputParameters, getROIEPSG, getStringParam, isForPreviews, isOutputRescaled, loadGlobalParameters, registerGlobalInputParameters, registerGlobalOutputParameters, registerInputParameter, registerOutputParameter, removeParam
 
Methods inherited from class org.gvsig.raster.algorithm.process.ProcessUtils
createOutputBuffer, createOutputBuffer, createSourceBuffer, debug, exportRaster, exportRaster, exportRaster, exportRaster, getData, getExtentResult, getIntersectionInPxCoords, getSourcePxBox, isAnalizedEntireLayer, isInsideOfROI, messageBoxError, messageBoxError, messageBoxError
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BLOCKSIZE

public static java.lang.String BLOCKSIZE

DIMENSION

public static java.lang.String DIMENSION

FILENAME

public static java.lang.String FILENAME

FLYRS

public static java.lang.String FLYRS

PARAMS

public static java.lang.String PARAMS

PATH

public static java.lang.String PATH

PROJECTION

public static java.lang.String PROJECTION

TIME

public static java.lang.String TIME

VIEWPORT

public static java.lang.String VIEWPORT
Constructor Detail

SaveRasterProcess

public SaveRasterProcess()
Method Detail

getLabel

public java.lang.String getLabel()
Specified by:
getLabel in interface org.gvsig.raster.algorithm.gui.IIncrementable
Overrides:
getLabel in class org.gvsig.raster.algorithm.process.DataProcess

getLog

public java.lang.String getLog()
Specified by:
getLog in interface org.gvsig.raster.algorithm.gui.IIncrementable
Overrides:
getLog in class org.gvsig.raster.algorithm.process.DataProcess

getPercent

public int getPercent()
Specified by:
getPercent in interface org.gvsig.raster.algorithm.gui.IIncrementable
Overrides:
getPercent in class org.gvsig.raster.algorithm.process.DataProcess

getTitle

public java.lang.String getTitle()

init

public void init()
Specified by:
init in class org.gvsig.raster.algorithm.process.DataProcess

process

public void process()
             throws org.gvsig.fmap.dal.coverage.exception.ProcessInterruptedException,
                    org.gvsig.raster.algorithm.process.ProcessException
Procesos de escritura de una porción de la vista.

Specified by:
process in class org.gvsig.raster.algorithm.process.DataProcess
Throws:
org.gvsig.fmap.dal.coverage.exception.ProcessInterruptedException
org.gvsig.raster.algorithm.process.ProcessException

registerParameters

public static void registerParameters()


Copyright © 2011-2014 gvSIG Association. All Rights Reserved.