public static void loadProps ( Properties props , File file ) throws IOException { FileInputStream fis = null ; try { fis = new FileInputStream ( file ) ; props . load ( fis ) ; } finally { if ( null != fis ) { fis . close ( ) ; } } }
Loads in the properties file