public static void writePropertiesFile ( Properties properties , File file ) throws IOException { OutputStream out = null ; try { out = new FileOutputStream ( file ) ; properties . store ( out , "" ) ; } finally { closeQuietly ( out ) ; } }
Writes Java properties into a file .