Package jcckit.util
Class AppletBasedConfigData
- java.lang.Object
-
- jcckit.util.FlatConfigData
-
- jcckit.util.AppletBasedConfigData
-
- All Implemented Interfaces:
ConfigData
public class AppletBasedConfigData extends FlatConfigData
Implementation ofFlatConfigDatabased on java.applet.Applet.- Author:
- Franz-Josef Elmer
-
-
Constructor Summary
Constructors Constructor Description AppletBasedConfigData(java.applet.Applet applet)Creates an instance based on the specified applet.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ConfigDatacreateConfigData(java.lang.String path)Returns the FlatConfigData object for the specified full path.protected java.lang.StringgetValue(java.lang.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 jcckit.util.FlatConfigData
get, getFullKey, getNode
-
-
-
-
Method Detail
-
getValue
protected java.lang.String getValue(java.lang.String fullKey)
Description copied from class:FlatConfigDataReturns the value for the specified full key from the flat representation of the hierarchically organized key-value pairs.- Specified by:
getValuein classFlatConfigData- Parameters:
fullKey- The full key including path. null is not allowed.- Returns:
- the value or null if not found.
-
createConfigData
protected ConfigData createConfigData(java.lang.String path)
Description copied from class:FlatConfigDataReturns the FlatConfigData object for the specified full path. In general path will be used in the constructor with path argument.- Specified by:
createConfigDatain classFlatConfigData- Parameters:
path- The full path.- Returns:
- a new instance in any case.
-
-