Code example for Properties

Methods: containsKey, getProperty

0
	public InternetRTConfig(){} 
	 
	public String getValue(String key){
		if(dynamicProperties.containsKey(key))
			return dynamicProperties.get(key);
		else if(props.containsKey(key))
			return props.getProperty(key);
		else 
			return null; 
	} 
 
    public void updatePropertiy(String key,String value) {    
    	dynamicProperties.put(key, value);
    }  
     
    public boolean containsAllProperties(Iterable<String> keys){
    	for(String k:keys){
    		if(getValue(k) == null)
    			return false; 
    	} 
    	return true;