public static Configuration load(InputStream stream) throws IOException {
  try {
    Properties properties=new Properties();
    properties.load(stream);
    return from(properties);
  }
  finally {
    stream.close();
  }
}

public static Configuration load ( InputStream stream ) throws IOException { try { Properties properties = new Properties ( ) ; properties . load ( stream ) ; return from ( properties ) ; } finally { stream . close ( ) ; } }
obtain a configuration instance by loading the properties from the supplied stream .
