com.izforge.izpack.installer
Class AutomatedInstallData.VariableValueMapImpl

java.lang.Object
  extended byjava.util.Dictionary
      extended byjava.util.Hashtable
          extended byjava.util.Properties
              extended bycom.izforge.izpack.installer.AutomatedInstallData.VariableValueMapImpl
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable, VariableValueMap
Enclosing class:
AutomatedInstallData

private static final class AutomatedInstallData.VariableValueMapImpl
extends java.util.Properties
implements VariableValueMap

A Properties based implementation for VariableValueMap interface.

Version:
$Revision: 1.5 $
Author:
Johannes Lehtinen

Nested Class Summary
 
Nested classes inherited from class java.util.Hashtable
 
Nested classes inherited from class java.util.Map
java.util.Map.Entry
 
Field Summary
 
Fields inherited from class java.util.Properties
defaults
 
Fields inherited from class java.util.Hashtable
 
Constructor Summary
private AutomatedInstallData.VariableValueMapImpl()
           
 
Method Summary
 java.lang.String getVariable(java.lang.String var)
          Returns the current value for the specified variable.
 void setVariable(java.lang.String var, java.lang.String val)
          Sets a new value for the specified variable.
 
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, load, propertyNames, save, setProperty, store
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Constructor Detail

AutomatedInstallData.VariableValueMapImpl

private AutomatedInstallData.VariableValueMapImpl()
Method Detail

getVariable

public java.lang.String getVariable(java.lang.String var)
Description copied from interface: VariableValueMap
Returns the current value for the specified variable.

Specified by:
getVariable in interface VariableValueMap
Parameters:
var - the name of the variable
Returns:
the current value or null if not set

setVariable

public void setVariable(java.lang.String var,
                        java.lang.String val)
Description copied from interface: VariableValueMap
Sets a new value for the specified variable.

Specified by:
setVariable in interface VariableValueMap
Parameters:
var - the name of the variable
val - the new value for the variable