|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.unex.sextante.core.AlgorithmsAndResources
public class AlgorithmsAndResources
Methods in this class act as entry points for algorithms
and resource files.
Algorithms are loaded when the library is initialized.
Adding new algorithms after calling Sextante.initialize()
will not add them to the list of currently available ones, so
all additional algorithms should be added before initializing
the library
Constructor Summary | |
---|---|
AlgorithmsAndResources()
|
Method Summary | |
---|---|
static void |
addAlgorithm(java.lang.String sAlgClassName)
Adds a new algorithm to the list or currently available ones |
static void |
addAlgorithmsAndPropertiesFromClasspath()
Adds all sextante algorithms and properties files located in the jar files in the classpath. |
static void |
addAlgorithmsAndPropertiesFromFolder(java.lang.String sFolder)
Adds all sextante algorithms and properties files located in the jar files of a given folder. |
static void |
addPropertiesFile(java.lang.String sName)
Adds a new properties file to the list |
static java.lang.String[] |
getAlgorithmClassNames()
Returns an array of class names of all the algorithms currently included in the library |
static java.lang.String[] |
getPropertiesFilenames()
Returns an array of names of properties files containing resource strings for i18N |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AlgorithmsAndResources()
Method Detail |
---|
public static java.lang.String[] getAlgorithmClassNames()
public static java.lang.String[] getPropertiesFilenames()
public static void addAlgorithm(java.lang.String sAlgClassName)
sAlgClassName
- the name of the class representing
the algorithmpublic static void addPropertiesFile(java.lang.String sName)
sName
- the base name of the properties filepublic static void addAlgorithmsAndPropertiesFromClasspath()
public static void addAlgorithmsAndPropertiesFromFolder(java.lang.String sFolder)
sFolder
- the folder where jar files are located
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |