code: public static Properties load(InputStream input) throws IOException {
  		Properties prop = new Properties();
  		try {
  			prop.load(input);
  		} catch (IOException e) {
  			throw new IOException("Failed to read properties from input");
  		}
  		return prop;
  	}
docs: Loads properties from an input stream.
  
  @since 1.0
  @param input the input stream to read properties from
  @return the properties
  @throws IOException an error occurred while reading the properties