|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jscience.ml.om.util.ConfigLoader
public class ConfigLoader
The ConfigLoader is used to find config files inside the classpath (and the extension directory), and if config files are found, it can provide easy access to the config information.
Constructor Summary | |
---|---|
ConfigLoader()
|
Method Summary | |
---|---|
static java.lang.String |
getClassnameFromType(java.lang.String type)
Returns the java classname that matches the given xsi:type attribute, which can be found at additional schema elements E.g. |
static void |
reloadConfig()
Scans the java classpath again for valid configfile. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfigLoader()
Method Detail |
---|
public static java.lang.String getClassnameFromType(java.lang.String type) throws ConfigException
type
- The xsi:type value which can be found at additional
schema elements
null
if the type could not be resolved.
ConfigException
- if problems occured during load of configpublic static void reloadConfig() throws ConfigException
ConfigException
- if problems occured during load of config
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |