private static void loadFile ( String filePath ) { final Path path = FileSystems . getDefault ( ) . getPath ( filePath ) ; try { data . clear ( ) ; data . load ( Files . newBufferedReader ( path ) ) ; } catch ( IOException e ) { LOG . warn ( "Exception while loading " + path . toString ( ) , e ) ; } }
Loads the file content in the properties collection