public class DefaultOutputFactory
extends es.unex.sextante.core.OutputFactory
| Constructor and Description |
|---|
DefaultOutputFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
addMessage(java.lang.String s) |
java.lang.Object |
getDefaultCRS()
Returns the default CRS for new layers.
|
es.unex.sextante.dataObjects.IRasterLayer |
getNewEmptyRORasterLayer(java.lang.String sName,
int iDataType,
es.unex.sextante.core.AnalysisExtent extent,
int iBands,
es.unex.sextante.outputs.IOutputChannel channel,
java.lang.Object crs) |
es.unex.sextante.dataObjects.IRasterLayer |
getNewRasterLayer(java.lang.String sName,
int iDataType,
es.unex.sextante.core.AnalysisExtent extent,
int iBands,
es.unex.sextante.outputs.IOutputChannel channel,
java.lang.Object crs)
Use this method to create a new raster layer as output from the geo-algorithm.
|
es.unex.sextante.dataObjects.ITable |
getNewTable(java.lang.String sName,
java.lang.Class[] types,
java.lang.String[] sFields,
es.unex.sextante.outputs.IOutputChannel channel)
Use this method to create a new table.
|
es.unex.sextante.dataObjects.IVectorLayer |
getNewVectorLayer(java.lang.String name,
int shapeType,
java.lang.Class[] types,
java.lang.String[] fields,
es.unex.sextante.outputs.IOutputChannel channel,
java.lang.Object crs)
Use this method to create a new IVectorLayer that can be used to generate new vector layers as output from the geo-algorithm
|
es.unex.sextante.dataObjects.IVectorLayer |
getNewVectorLayer(java.lang.String name,
int shapeType,
java.lang.Class[] types,
java.lang.String[] fields,
es.unex.sextante.outputs.IOutputChannel channel,
java.lang.Object crs,
int subtype)
Use this method to create a new IVectorLayer that can be used to generate new vector layers as output from the geo-algorithm
|
es.unex.sextante.dataObjects.IVectorLayer |
getNewVectorLayer(java.lang.String sName,
int iShapeType,
java.lang.Class[] types,
java.lang.String[] sFields,
es.unex.sextante.outputs.IOutputChannel channel,
java.lang.Object crs,
int[] fieldSize)
Use this method to create a new IVectorLayer that can be used to generate new vector layers as output from the geo-algorithm
|
es.unex.sextante.dataObjects.IVectorLayer |
getNewVectorLayer(java.lang.String sName,
int iShapeType,
java.lang.Class[] types,
java.lang.String[] sFields,
es.unex.sextante.outputs.IOutputChannel channel,
java.lang.Object crs,
int[] fieldSize,
int subtype)
Use this method to create a new IVectorLayer that can be used to generate new vector layers as output from the geo-algorithm
|
java.lang.String[] |
getRasterLayerOutputExtensions()
Returns the extensions supported by this factory for creating raster layers.
|
java.lang.String[] |
getTableOutputExtensions()
Returns the extensions supported by this factory for creating raster layers.
|
es.unex.sextante.core.ITaskMonitor |
getTaskMonitor(java.lang.String sTitle,
boolean bDeterminate,
javax.swing.JDialog parent)
Returns the task monitor that will be used to monitor algorithm execution
|
java.lang.String |
getTempFolder()
Returns the temporary folder.
|
java.lang.String[] |
getVectorLayerOutputExtensions()
Returns the extensions supported by this factory for creating vector layers.
|
get3DRasterLayerOutputExtensions, getDefaultNoDataValue, getNew3DRasterLayer, getTemp3DRasterLayerFilename, getTempFilename, getTempFilenameWithoutExtension, getTempFoldername, getTempRasterLayerFilename, getTempTableFilename, getTempVectorLayerFilename, setDefaultNoDataValuepublic es.unex.sextante.dataObjects.IVectorLayer getNewVectorLayer(java.lang.String name,
int shapeType,
java.lang.Class[] types,
java.lang.String[] fields,
es.unex.sextante.outputs.IOutputChannel channel,
java.lang.Object crs,
int subtype)
throws es.unex.sextante.exceptions.UnsupportedOutputChannelException
es.unex.sextante.core.OutputFactorygetNewVectorLayer in class es.unex.sextante.core.OutputFactoryname - the name of the layershapeType - the type of shapes in the layertypes - the data type of the fieldsfields - the name of the fields in the attributes tablechannel - the output channel associated to the output layercrs - An object with information to set the CRS of this layer (i.e. a string with a EPSG code)subtype - the subtype of the geometries in the layeres.unex.sextante.exceptions.UnsupportedOutputChannelExceptionpublic es.unex.sextante.dataObjects.IVectorLayer getNewVectorLayer(java.lang.String name,
int shapeType,
java.lang.Class[] types,
java.lang.String[] fields,
es.unex.sextante.outputs.IOutputChannel channel,
java.lang.Object crs)
throws es.unex.sextante.exceptions.UnsupportedOutputChannelException
es.unex.sextante.core.OutputFactorygetNewVectorLayer in class es.unex.sextante.core.OutputFactoryname - the name of the layershapeType - the type of shapes in the layertypes - the data type of the fieldsfields - the name of the fields in the attributes tablechannel - the output channel associated to the output layercrs - An object with information to set the CRS of this layer (i.e. a string with a EPSG code)es.unex.sextante.exceptions.UnsupportedOutputChannelExceptionpublic es.unex.sextante.dataObjects.IVectorLayer getNewVectorLayer(java.lang.String sName,
int iShapeType,
java.lang.Class[] types,
java.lang.String[] sFields,
es.unex.sextante.outputs.IOutputChannel channel,
java.lang.Object crs,
int[] fieldSize)
throws es.unex.sextante.exceptions.UnsupportedOutputChannelException
es.unex.sextante.core.OutputFactorygetNewVectorLayer in class es.unex.sextante.core.OutputFactorysName - the name of the layeriShapeType - the type of shapes in the layertypes - the data type of the fieldssFields - the name of the fields in the attributes tablechannel - the output channel associated to the output layercrs - An object with information to set the CRS of this layer (i.e. a string with a EPSG code)fieldSize - A list of integers. Each value represents the size of a table field.es.unex.sextante.exceptions.UnsupportedOutputChannelExceptionpublic es.unex.sextante.dataObjects.IVectorLayer getNewVectorLayer(java.lang.String sName,
int iShapeType,
java.lang.Class[] types,
java.lang.String[] sFields,
es.unex.sextante.outputs.IOutputChannel channel,
java.lang.Object crs,
int[] fieldSize,
int subtype)
throws es.unex.sextante.exceptions.UnsupportedOutputChannelException
es.unex.sextante.core.OutputFactorygetNewVectorLayer in class es.unex.sextante.core.OutputFactorysName - the name of the layeriShapeType - the type of shapes in the layertypes - the data type of the fieldssFields - the name of the fields in the attributes tablechannel - the output channel associated to the output layercrs - An object with information to set the CRS of this layer (i.e. a string with a EPSG code)fieldSize - A list of integers. Each value represents the size of a table field.subtype - the subtype of the geometries in the layeres.unex.sextante.exceptions.UnsupportedOutputChannelExceptionpublic es.unex.sextante.dataObjects.IRasterLayer getNewRasterLayer(java.lang.String sName,
int iDataType,
es.unex.sextante.core.AnalysisExtent extent,
int iBands,
es.unex.sextante.outputs.IOutputChannel channel,
java.lang.Object crs)
throws es.unex.sextante.exceptions.UnsupportedOutputChannelException
es.unex.sextante.core.OutputFactorygetNewRasterLayer in class es.unex.sextante.core.OutputFactorysName - the name of the layeriDataType - the type of data in the layerextent - the AnalysisExtent to useiBands - the number of bands of the new layerchannel - the output channel associated to the output layercrs - An object with information to set the CRS of this layer (i.e. a string with a EPSG code)es.unex.sextante.exceptions.UnsupportedOutputChannelExceptionpublic es.unex.sextante.dataObjects.IRasterLayer getNewEmptyRORasterLayer(java.lang.String sName,
int iDataType,
es.unex.sextante.core.AnalysisExtent extent,
int iBands,
es.unex.sextante.outputs.IOutputChannel channel,
java.lang.Object crs)
throws es.unex.sextante.exceptions.UnsupportedOutputChannelException
es.unex.sextante.exceptions.UnsupportedOutputChannelExceptionpublic es.unex.sextante.dataObjects.ITable getNewTable(java.lang.String sName,
java.lang.Class[] types,
java.lang.String[] sFields,
es.unex.sextante.outputs.IOutputChannel channel)
throws es.unex.sextante.exceptions.UnsupportedOutputChannelException
es.unex.sextante.core.OutputFactorygetNewTable in class es.unex.sextante.core.OutputFactorysName - the name of the tabletypes - the data type of the fieldssFields - The names of the fields in the tablechannel - the output channel associated to the output layeres.unex.sextante.exceptions.UnsupportedOutputChannelExceptionpublic java.lang.String getTempFolder()
es.unex.sextante.core.OutputFactorygetTempFolder in class es.unex.sextante.core.OutputFactorypublic java.lang.String[] getRasterLayerOutputExtensions()
es.unex.sextante.core.OutputFactorygetRasterLayerOutputExtensions in class es.unex.sextante.core.OutputFactorypublic java.lang.String[] getVectorLayerOutputExtensions()
es.unex.sextante.core.OutputFactorygetVectorLayerOutputExtensions in class es.unex.sextante.core.OutputFactorypublic java.lang.String[] getTableOutputExtensions()
es.unex.sextante.core.OutputFactorygetTableOutputExtensions in class es.unex.sextante.core.OutputFactorypublic void addMessage(java.lang.String s)
public es.unex.sextante.core.ITaskMonitor getTaskMonitor(java.lang.String sTitle,
boolean bDeterminate,
javax.swing.JDialog parent)
es.unex.sextante.core.OutputFactorygetTaskMonitor in class es.unex.sextante.core.OutputFactorysTitle - a String used to identify the monitor. This will be used, for instance, as the title string of a progress
dialog.bDeterminate - true if the task monitor will monitor a determinated process (i.e. number of steps to complete the process is
know)public java.lang.Object getDefaultCRS()
es.unex.sextante.core.OutputFactorygetDefaultCRS in class es.unex.sextante.core.OutputFactory