|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.unex.sextante.core.GeoAlgorithm
es.unex.sextante.gui.grass.GrassAlgorithm
public class GrassAlgorithm
A geoalgorithm that wraps a grass algorithm
Constructor Summary | |
---|---|
GrassAlgorithm()
|
Method Summary | |
---|---|
void |
defineCharacteristics()
This method should be overridden and used to specify the parameters needed by the GeoAlgorithm, using the corresponding methods of the ParametersSet object. |
GeoAlgorithm |
getNewInstance()
|
void |
initialize(java.lang.String sDescriptionFile)
Initializes the geoalgorithm from a grass description file, generated using the --interface-description modifier |
boolean |
processAlgorithm()
This method should implement the algorithm itself, using the values of the parameters and processing them. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GrassAlgorithm()
Method Detail |
---|
public void initialize(java.lang.String sDescriptionFile) throws UnwrappableGrassProcessException
sDescriptionFile
- the description file
UnwrappableGrassProcessException
public void defineCharacteristics()
GeoAlgorithm
GeoAlgorithm.addOutputRasterLayer(java.lang.String, java.lang.String, int, es.unex.sextante.outputs.IOutputChannel, es.unex.sextante.dataObjects.IRasterLayer)
, GeoAlgorithm.addOutputVectorLayer(java.lang.String, java.lang.String, int, es.unex.sextante.outputs.IOutputChannel, es.unex.sextante.dataObjects.IVectorLayer)
, etc.)
defineCharacteristics
in class GeoAlgorithm
public boolean processAlgorithm() throws GeoAlgorithmExecutionException
GeoAlgorithm
processAlgorithm
in class GeoAlgorithm
GeoAlgorithmExecutionException
- if there were problems
during algorithm executionpublic GeoAlgorithm getNewInstance() throws java.lang.InstantiationException, java.lang.IllegalAccessException
getNewInstance
in class GeoAlgorithm
java.lang.InstantiationException
java.lang.IllegalAccessException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |