Package jcckit.util
Class AppletBasedConfigData
java.lang.Object
jcckit.util.FlatConfigData
jcckit.util.AppletBasedConfigData
- All Implemented Interfaces:
ConfigData
Implementation of
FlatConfigData
based on
java.applet.Applet.-
Constructor Summary
ConstructorDescriptionAppletBasedConfigData
(Applet applet) Creates an instance based on the specified applet. -
Method Summary
Modifier and TypeMethodDescriptionprotected ConfigData
createConfigData
(String path) Returns the FlatConfigData object for the specified full path.protected String
Returns the value for the specified full key from the flat representation of the hierarchically organized key-value pairs.Methods inherited from class jcckit.util.FlatConfigData
get, getFullKey, getNode
-
Constructor Details
-
AppletBasedConfigData
Creates an instance based on the specified applet. The path is undefined.
-
-
Method Details
-
getValue
Description copied from class:FlatConfigData
Returns the value for the specified full key from the flat representation of the hierarchically organized key-value pairs.- Specified by:
getValue
in classFlatConfigData
- Parameters:
fullKey
- The full key including path. null is not allowed.- Returns:
- the value or null if not found.
-
createConfigData
Description copied from class:FlatConfigData
Returns the FlatConfigData object for the specified full path. In general path will be used in the constructor with path argument.- Specified by:
createConfigData
in classFlatConfigData
- Parameters:
path
- The full path.- Returns:
- a new instance in any case.
-