public static Properties loadProperties ( File file ) throws IOException { if ( file == null ) return null ; FileReader reader = new FileReader ( file ) ; try { return loadProperties ( reader ) ; } finally { reader . close ( ) ; } }
Convenient call to load a properties file from the provided file