public static Properties load(File file) throws FileNotFoundException, IOException {
  Properties props=new Properties();
  props.load(new FileReader(file));
  return props;
}

public static Properties load ( File file ) throws FileNotFoundException , IOException { Properties props = new Properties ( ) ; props . load ( new FileReader ( file ) ) ; return props ; }
loads the specified properties file into memory
