Package org.apache.kerby.config
Class ConfigImpl
java.lang.Object
org.apache.kerby.config.ConfigImpl
- All Implemented Interfaces:
Config
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidgetBoolean(String name) getBoolean(String name, Boolean defaultValue) getBoolean(ConfigKey name, boolean useDefault) Class<?>Class<?>Class<?><T> TgetInstance(String name) <T> TgetInstance(String name, Class<T> xface) <T> TgetInstance(ConfigKey name) getNames()getTrimmed(String name) getTrimmed(ConfigKey name) protected voidreset()protected voidprotected voidprotected voidset(String name, ConfigObject value) voidsetBoolean(String name, Boolean value) Set a boolean value for the specified propertyvoidsetBoolean(ConfigKey name, Boolean value) Set a boolean value for the specified propertyvoidSet a float value for the specified propertyvoidSet a float value for the specified propertyvoidSet an int value for the specified propertyvoidSet an int value for the specified propertyvoidSet a long value for the specified propertyvoidSet a long value for the specified propertyvoidSet a string value for the specified propertyvoidSet a string value for the specified property
-
Constructor Details
-
ConfigImpl
-
-
Method Details
-
reset
protected void reset() -
getResource
- Specified by:
getResourcein interfaceConfig
-
getNames
-
getString
-
getString
-
getString
-
getTrimmed
- Specified by:
getTrimmedin interfaceConfig
-
getTrimmed
- Specified by:
getTrimmedin interfaceConfig
-
getInt
-
getInt
-
getInt
-
setInt
Description copied from interface:ConfigSet an int value for the specified property -
setInt
Description copied from interface:ConfigSet an int value for the specified property -
getLong
-
getLong
-
getLong
-
setLong
Description copied from interface:ConfigSet a long value for the specified property -
setLong
Description copied from interface:ConfigSet a long value for the specified property -
getFloat
-
getFloat
-
getFloat
-
setFloat
Description copied from interface:ConfigSet a float value for the specified property -
setFloat
Description copied from interface:ConfigSet a float value for the specified property -
getBoolean
- Specified by:
getBooleanin interfaceConfig
-
getBoolean
- Specified by:
getBooleanin interfaceConfig
-
getBoolean
- Specified by:
getBooleanin interfaceConfig
-
setBoolean
Description copied from interface:ConfigSet a boolean value for the specified property- Specified by:
setBooleanin interfaceConfig- Parameters:
name- The property namevalue- The boolean value
-
setBoolean
Description copied from interface:ConfigSet a boolean value for the specified property- Specified by:
setBooleanin interfaceConfig- Parameters:
name- The config key namevalue- The boolean value
-
getList
-
getList
-
getList
-
getConfig
-
getConfig
-
getClass
- Specified by:
getClassin interfaceConfig- Throws:
ClassNotFoundException
-
getClass
- Specified by:
getClassin interfaceConfig- Throws:
ClassNotFoundException
-
getClass
- Specified by:
getClassin interfaceConfig- Throws:
ClassNotFoundException
-
getInstance
- Specified by:
getInstancein interfaceConfig- Throws:
ClassNotFoundException
-
getInstance
- Specified by:
getInstancein interfaceConfig- Throws:
ClassNotFoundException
-
getInstance
- Specified by:
getInstancein interfaceConfig- Throws:
ClassNotFoundException
-
setString
Description copied from interface:ConfigSet a string value for the specified property -
setString
Description copied from interface:ConfigSet a string value for the specified property -
set
-
set
-
set
-
add
-