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