org.sape.carboncontrib.config
Interface StringMap

All Superinterfaces:
org.sape.carbon.core.config.Configuration

public interface StringMap
extends org.sape.carbon.core.config.Configuration

A map that maps string keys to string values.


Method Summary
 Map getString()
          Returns the StringMap as a java.util.Map.
 String getString(String key)
          Returns the string value associated with the supplied key.
 void setString(Map map)
          Sets the StringMap using the supplied java.util.Map.
 void setString(String key, String value)
          Sets the value associated supplied key.
 
Methods inherited from interface org.sape.carbon.core.config.Configuration
clone, getConfigurationInterface, getConfigurationName, getDataStructure, getRootElement, isConfigurationWritable, setConfigurationName, setConfigurationReadOnly
 

Method Detail

getString

public Map getString()
Returns the StringMap as a java.util.Map.

Returns:
Map

getString

public String getString(String key)
Returns the string value associated with the supplied key.

Parameters:
key -
Returns:
String value

setString

public void setString(String key,
                      String value)
Sets the value associated supplied key.

Parameters:
key -
value -

setString

public void setString(Map map)
Sets the StringMap using the supplied java.util.Map.

Parameters:
map -


Copyright 2003 Sapient Corporation. All Rights Reserved.