public abstract class DefaultRasterWriter extends java.lang.Object implements RasterWriter
Modifier and Type | Field and Description |
---|---|
protected java.awt.geom.AffineTransform |
at |
protected DataStoreColorInterpretation |
colorInterp |
protected int |
dataType |
protected DataServerWriter |
dataWriter |
protected java.lang.String |
driver |
protected Params |
driverParams |
protected ExternalCancellable |
extCancellable |
protected FileUtils |
fileUtil |
protected java.lang.String |
ident |
protected java.lang.String |
inFileName |
static int |
MODE_DATAWRITE |
static int |
MODE_FILEWRITE |
protected int |
nBands |
protected java.lang.String |
outFileName |
protected int |
percent |
protected DefaultProviderServices |
pInfo |
protected IProjection |
proj |
protected RasterUtils |
rasterUtil |
protected int |
sizeWindowX |
protected int |
sizeWindowY |
protected int |
ulX |
protected int |
ulY |
Constructor and Description |
---|
DefaultRasterWriter() |
Modifier and Type | Method and Description |
---|---|
abstract void |
dataWrite()
Realiza la función de compresión a partir de los datos pasados por el
cliente.
|
abstract void |
fileWrite()
Realiza la función de compresión a partir de un GeoRasterFile.
|
java.lang.String |
getDriverName()
Obtiene el nombre del driver.
|
java.lang.String |
getDriverType() |
java.lang.String |
getIdent()
Devuelve el identificador del driver
|
Params |
getParams()
Obtiene los parámetros del driver.
|
int |
getPercent()
Porcentaje de escritura completado.
|
protected void |
savePrjFile(java.io.File dataFile,
IProjection proj) |
void |
setCancellableRasterDriver(ExternalCancellable cancellable)
Assigns the object to be cancelled
|
void |
setColorBandsInterpretation(java.lang.String[] colorInterp)
Asigna la interpretación de color para el fichero de salida.
|
void |
setParams(Params params)
Asigna los parámetros del driver modificados por el cliente.
|
void |
setPercent(int percent)
Asigna el porcentaje de incremento.
|
abstract void |
setWkt(java.lang.String wkt)
Añade la proyección Wkt con la que salvar.
|
abstract void |
writeCancel()
Cancela el grabado de datos
|
abstract void |
writeClose()
Cierra el driver
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getProviderName
public static final int MODE_FILEWRITE
public static final int MODE_DATAWRITE
protected java.lang.String outFileName
protected java.lang.String inFileName
protected int sizeWindowX
protected int sizeWindowY
protected int ulX
protected int ulY
protected DataServerWriter dataWriter
protected int nBands
protected java.lang.String ident
protected java.lang.String driver
protected Params driverParams
protected java.awt.geom.AffineTransform at
protected int percent
protected int dataType
protected IProjection proj
protected DataStoreColorInterpretation colorInterp
protected ExternalCancellable extCancellable
protected FileUtils fileUtil
protected RasterUtils rasterUtil
protected DefaultProviderServices pInfo
public java.lang.String getIdent()
public java.lang.String getDriverName()
getDriverName
in interface RasterWriter
public java.lang.String getDriverType()
public void setPercent(int percent)
percent
- public int getPercent()
RasterWriter
getPercent
in interface RasterWriter
public Params getParams()
getParams
in interface RasterWriter
public void setParams(Params params)
Params
- public abstract void fileWrite() throws java.io.IOException, ProcessInterruptedException
java.io.IOException
ProcessInterruptedException
public abstract void dataWrite() throws java.io.IOException, ProcessInterruptedException
dataWrite
in interface RasterWriter
java.io.IOException
RmfSerializerException
ProcessInterruptedException
public abstract void writeClose() throws java.io.IOException
writeClose
in interface RasterWriter
java.io.IOException
public abstract void writeCancel()
writeCancel
in interface RasterWriter
public abstract void setWkt(java.lang.String wkt)
setWkt
in interface RasterWriter
wkt
- public void setColorBandsInterpretation(java.lang.String[] colorInterp)
setColorBandsInterpretation
in interface RasterWriter
colorInterp
- Interpretación de colorpublic void setCancellableRasterDriver(ExternalCancellable cancellable)
setCancellableRasterDriver
in interface RasterWriter
cancellable
- protected void savePrjFile(java.io.File dataFile, IProjection proj)