public static Properties loadFile(File file) throws IOException {
		InputStream input = new FileInputStream(file);
		Properties prop = null;
		try {
			prop = load(input);
		} finally {
			IOUtils.close(input);
		}
		return prop;
	}
public static Properties loadFile ( File file ) throws IOException { InputStream input = new FileInputStream ( file ) ; Properties prop = null ; try { prop = load ( input ) ; } finally { IOUtils . close ( input ) ; } return prop ; }
Loads properties from a file.

@since 1.0
@param file the file to read properties from
@return the properties
@throws IOException an error occurred while reading the file