public static void map(InputStream propertyInputStream,Composite composite) throws IOException {
  if (propertyInputStream != null) {
    Properties configProps=new Properties();
    try {
      configProps.load(propertyInputStream);
    }
  finally {
      propertyInputStream.close();
    }
    map(configProps,composite);
  }
}

public static void map ( InputStream propertyInputStream , Composite composite ) throws IOException { if ( propertyInputStream != null ) { Properties configProps = new Properties ( ) ; try { configProps . load ( propertyInputStream ) ; } finally { propertyInputStream . close ( ) ; } map ( configProps , composite ) ; } }
load a properties object from the given stream , close it , and then populate the composite with the properties .
