public class ErmapperWriter extends DefaultRasterWriter
Modifier and Type | Field and Description |
---|---|
java.lang.String |
panelLayout |
int |
panelSizeX |
int |
panelSizeY |
int |
windowSizeX |
int |
windowSizeY |
at, colorInterp, dataType, dataWriter, driver, driverParams, extCancellable, fileUtil, ident, inFileName, MODE_DATAWRITE, MODE_FILEWRITE, nBands, outFileName, percent, pInfo, proj, rasterUtil, sizeWindowX, sizeWindowY, ulX, ulY
Constructor and Description |
---|
ErmapperWriter(DataServerWriter dataWriter,
java.lang.String outFileName,
java.lang.Integer nBands,
java.awt.geom.AffineTransform at,
java.lang.Integer outSizeX,
java.lang.Integer outSizeY,
java.lang.Integer dataType,
Params params,
IProjection proj,
java.lang.Boolean geo)
Constructor para la lectura de datos desde el objeto cliente a partir de un
viewport dado.
|
ErmapperWriter(java.lang.String fileName)
Constructor para la obtención de parámetros del driver.
|
Modifier and Type | Method and Description |
---|---|
void |
dataWrite()
Realiza la función de compresión a partir de los datos pasados por el cliente.
|
void |
fileWrite()
Realiza la función de compresión a partir de un GeoRasterFile.
|
java.lang.String |
getProviderName()
Gets the provider name of this
RasterWriter |
void |
loadParams()
Carga los parámetros de este driver.
|
static void |
register() |
void |
setCancellableRasterDriver(ExternalCancellable cancellable)
Assigns the object to be cancelled
|
void |
setProps(java.lang.String[] props)
Asigna propiedades al driver a partir de un vector de
strings donde cada elemento tiene la estructura de
propiedad=valor.
|
void |
setWkt(java.lang.String wkt)
Añade la proyección Wkt con la que salvar.
|
void |
writeCancel()
Cancela el compresor ecw.
|
void |
writeClose()
Cierra el compresor ecw.
|
getDriverName, getDriverType, getIdent, getParams, getPercent, savePrjFile, setColorBandsInterpretation, setParams, setPercent
public final int windowSizeX
public final int windowSizeY
public final int panelSizeX
public final int panelSizeY
public final java.lang.String panelLayout
public ErmapperWriter(java.lang.String fileName)
public ErmapperWriter(DataServerWriter dataWriter, java.lang.String outFileName, java.lang.Integer nBands, java.awt.geom.AffineTransform at, java.lang.Integer outSizeX, java.lang.Integer outSizeY, java.lang.Integer dataType, Params params, IProjection proj, java.lang.Boolean geo) throws es.gva.cit.jecwcompress.EcwException, java.io.IOException
dataWriter
- Objeto que sirve datos para el escritoroutFileName
- Fichero de salidanBands
- Número de bandasat
- outSizeX
- outSizeY
- dataType
- params
- proj
- geo
- es.gva.cit.jecwcompress.EcwException
java.io.IOException
public static void register()
public void loadParams()
public java.lang.String getProviderName()
RasterWriter
RasterWriter
public void setProps(java.lang.String[] props)
props
- Propiedadespublic void fileWrite() throws java.io.IOException
fileWrite
in class DefaultRasterWriter
java.io.IOException
public void dataWrite() throws java.io.IOException, ProcessInterruptedException
dataWrite
in interface RasterWriter
dataWrite
in class DefaultRasterWriter
java.io.IOException
ProcessInterruptedException
public void writeClose()
writeClose
in interface RasterWriter
writeClose
in class DefaultRasterWriter
public void writeCancel()
writeCancel
in interface RasterWriter
writeCancel
in class DefaultRasterWriter
public void setWkt(java.lang.String wkt)
DefaultRasterWriter
setWkt
in interface RasterWriter
setWkt
in class DefaultRasterWriter
public void setCancellableRasterDriver(ExternalCancellable cancellable)
DefaultRasterWriter
setCancellableRasterDriver
in interface RasterWriter
setCancellableRasterDriver
in class DefaultRasterWriter