org.jmux.app
Class ConfigImpl
java.lang.Object
org.jmux.app.ConfigImpl
- All Implemented Interfaces:
- java.io.Serializable, Config
public class ConfigImpl
- extends java.lang.Object
- implements Config, java.io.Serializable
- Author:
- donaldw
- See Also:
- Serialized Form
Constructor Summary |
ConfigImpl(java.lang.String name)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ConfigImpl
public ConfigImpl(java.lang.String name)
getName
public java.lang.String getName()
- Specified by:
getName
in interface Config
getConf
public Config getConf(java.lang.String name)
- Specified by:
getConf
in interface Config
getConfs
public java.util.List<Config> getConfs(java.lang.String name)
- Specified by:
getConfs
in interface Config
getBoolean
public boolean getBoolean(boolean def)
- Specified by:
getBoolean
in interface Config
getString
public java.lang.String getString(java.lang.String def)
- Specified by:
getString
in interface Config
getInteger
public int getInteger(int def)
- Specified by:
getInteger
in interface Config
getBoolean
public boolean getBoolean(boolean defaultVal,
java.lang.String... names)
- Specified by:
getBoolean
in interface Config
getString
public java.lang.String getString(java.lang.String defaultVal,
java.lang.String... names)
- Specified by:
getString
in interface Config
getInteger
public int getInteger(int defaultVal,
java.lang.String... names)
- Specified by:
getInteger
in interface Config
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2006-2008 jmux.org. All Rights Reserved.