public static synchronized void addFromProperties(InputStream propsStream) throws Exception {
  Properties expProps=new Properties();
  expProps.load(propsStream);
  propsStream.close();
  propsStream=null;
  addFromProperties(expProps);
}

public static synchronized void addFromProperties ( InputStream propsStream ) throws Exception { Properties expProps = new Properties ( ) ; expProps . load ( propsStream ) ; propsStream . close ( ) ; propsStream = null ; addFromProperties ( expProps ) ; }
add all key value pairs from the supplied properties stream
