private static Properties initializeConfigurationProperties ( ) { Properties properties = new Properties ( ) ; InputStream in = GeoPackageProperties . class . getResourceAsStream ( "/" + PropertyConstants . PROPERTIES_FILE ) ; if ( in != null ) { try { properties . load ( in ) ; } catch ( Exception e ) { log . log ( Level . SEVERE , "Failed to load properties file: " + PropertyConstants . PROPERTIES_FILE , e ) ; } finally { try { in . close ( ) ; } catch ( IOException e ) { log . log ( Level . WARNING , "Failed to close properties file: " + PropertyConstants . PROPERTIES_FILE , e ) ; } } } else { log . log ( Level . SEVERE , "Failed to load properties, file not found: " + PropertyConstants . PROPERTIES_FILE ) ; } return properties ; }
Initialize the configuration properties