|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.unex.sextante.core.Sextante
public class Sextante
Constructor Summary | |
---|---|
Sextante()
|
Method Summary | |
---|---|
static void |
addErrorToLog(java.lang.String sError)
Adds an error message to the SEXTANTE logger |
static void |
addErrorToLog(java.lang.Throwable e)
logs an error or exception to the SEXTANTE logger |
static void |
addInfoToLog(java.lang.String sInfo)
Adds an info message to the SEXTANTE logger |
static void |
addWarningToLog(java.lang.String sWarning)
Adds a warning message to the SEXTANTE logger |
static GeoAlgorithm |
getAlgorithmFromCommandLineName(java.lang.String sName)
returns an algorithm based on its command line name. |
static java.util.HashMap |
getAlgorithms()
Returns a map of all algorithms in the library. |
static java.util.HashMap |
getAlgorithms(IGeoAlgorithmFilter filter)
Returns a map of algorithms in the library filtered using a given filter. |
static SextanteLogHandler |
getLogger()
Returns the logger to log SEXTANTE issues |
static java.lang.String |
getText(java.lang.String sKey)
Returns an internationalized string based on a key value (i.e the string in the current language associated with the key value) Use this method to support internationalization. |
static void |
initialize()
initializes the library, loading algorithms and properties. |
static void |
initialize(java.lang.String sFolder)
initializes the library, loading algorithms and properties. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Sextante()
Method Detail |
---|
public static void initialize()
public static void initialize(java.lang.String sFolder)
sFolder
- the folder where sextante jars are located.
Algorithms and properties files are loaded from those jar files
prior to library initialization.public static void addErrorToLog(java.lang.Throwable e)
e
- the throwable object to logpublic static void addErrorToLog(java.lang.String sError)
sError
- the error messagepublic static void addWarningToLog(java.lang.String sWarning)
sWarning
- the warning messagepublic static void addInfoToLog(java.lang.String sInfo)
sInfo
- the info messagepublic static SextanteLogHandler getLogger()
public static java.util.HashMap getAlgorithms()
GeoAlgorithm.getCommandLineName()
)
are used as keys.
The library must have been initialized before. Otherwise, this
method will return an empty map
public static java.util.HashMap getAlgorithms(IGeoAlgorithmFilter filter)
GeoAlgorithm.getCommandLineName()
)
are used as keys.
The library must have been initialized before. Otherwise, this
method will return an empty map
filter
- The filter to use
public static GeoAlgorithm getAlgorithmFromCommandLineName(java.lang.String sName)
GeoAlgorithm.getCommandLineName()
)
sName
- the command-line name
public static java.lang.String getText(java.lang.String sKey)
sKey
- the key to search
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |