com.twitter.chill.config
Class JavaMapConfig

java.lang.Object
  extended by com.twitter.chill.config.Config
      extended by com.twitter.chill.config.JavaMapConfig

public class JavaMapConfig
extends Config

This takes a raw Map and calls toString on the objects before returning them as values


Constructor Summary
JavaMapConfig()
           
JavaMapConfig(java.util.Map conf)
           
 
Method Summary
 java.lang.String get(java.lang.String key)
          Return null if this key is undefined
 void set(java.lang.String key, java.lang.String value)
           
 
Methods inherited from class com.twitter.chill.config.Config
contains, getBoolean, getBoolean, getOrElse, setBoolean
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaMapConfig

public JavaMapConfig(java.util.Map conf)

JavaMapConfig

public JavaMapConfig()
Method Detail

get

public java.lang.String get(java.lang.String key)
Return null if this key is undefined

Specified by:
get in class Config

set

public void set(java.lang.String key,
                java.lang.String value)
Specified by:
set in class Config