public void load(Properties props){
  HashMap<String,Object> map=new HashMap<String,Object>();
  Enumeration<?> keys=props.propertyNames();
  while (keys.hasMoreElements()) {
    String key=(String)keys.nextElement();
    map.put(key,props.getProperty(key));
  }
  properties=map;
}

public void load ( Properties props ) { HashMap < String , Object > map = new HashMap < String , Object > ( ) ; Enumeration < ? > keys = props . propertyNames ( ) ; while ( keys . hasMoreElements ( ) ) { String key = ( String ) keys . nextElement ( ) ; map . put ( key , props . getProperty ( key ) ) ; } properties = map ; }
load values from a properties instance . current values are obliterated .
