jcckit.util
Class AppletBasedConfigData
java.lang.Object
jcckit.util.FlatConfigData
jcckit.util.AppletBasedConfigData
- All Implemented Interfaces:
- ConfigData
public class AppletBasedConfigData
- extends FlatConfigData
Implementation of FlatConfigData
based on
java.applet.Applet.
- Author:
- Franz-Josef Elmer
Method Summary |
protected ConfigData |
createConfigData(String path)
Returns the FlatConfigData object for the specified full path. |
protected String |
getValue(String fullKey)
Returns the value for the specified full key from the flat
representation of the hierarchically organized key-value pairs. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AppletBasedConfigData
public AppletBasedConfigData(Applet applet)
- Creates an instance based on the specified applet.
The path is undefined.
getValue
protected String getValue(String fullKey)
- 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 class FlatConfigData
- Parameters:
fullKey
- The full key including path. null is not allowed.
- Returns:
- the value or null if not found.
createConfigData
protected ConfigData createConfigData(String path)
- 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 class FlatConfigData
- Parameters:
path
- The full path.
- Returns:
- a new instance in any case.
Copyright © 2013. All Rights Reserved.