|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.unex.sextante.gui.cmd.Parser
public class Parser
This class has methods to parse command-line expressions and create instances of SEXTANTE algorithms from them
Constructor Summary | |
---|---|
Parser()
|
Method Summary | |
---|---|
static GeoAlgorithm |
getAlgorithm(java.lang.String sAlgName,
java.lang.String[] args)
Returns a ready-to-be-executed instance of a given algorithm, based on its command-line name and an array of strings representing parameter values |
static GeoAlgorithm |
getModel(java.lang.String sModelFilename,
java.lang.String[] args)
Return a ready-to-be-executed instance of a given model, based on its filename and an array of strings representing parameter values |
static GeoAlgorithm |
getWPSProcess(java.lang.String sURL,
java.lang.String sProcessIdentifier,
java.lang.String[] args)
Return a ready-to-be-executed instance of a given WPS Process as a SEXTANTE GeoAlgorithm, based on its URL and identifier and an array of strings representing parameter values |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Parser()
Method Detail |
---|
public static GeoAlgorithm getAlgorithm(java.lang.String sAlgName, java.lang.String[] args) throws CommandLineException
sAlgName
- the command-line name of the algorithmargs
- an array of string representing parameter values
CommandLineException
public static GeoAlgorithm getModel(java.lang.String sModelFilename, java.lang.String[] args) throws CommandLineException
sModelFilename
- the filename of the file containing the model,
which must be in the models folderargs
- an array of string representing parameter values
CommandLineException
public static GeoAlgorithm getWPSProcess(java.lang.String sURL, java.lang.String sProcessIdentifier, java.lang.String[] args) throws CommandLineException
sURL
- the url of the WPS servicesProcessIdentifier
- the identifier of the processargs
- an array of string representing parameter values
CommandLineException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |