question: public static Properties loadConfigFile ( String path ) { Properties property = null ; File file = new File ( path ) ; if ( file . exists ( ) && file . canRead ( ) ) { try { property = new Properties ( ) ; property . load ( new FileReader ( file . getAbsolutePath ( ) ) ) ; } catch ( FileNotFoundException e ) { e . printStackTrace ( ) ; } catch ( IOException e ) { e . printStackTrace ( ) ; } } return property ; }
target:  searching the specified configuration file and return a Properties