class BootstrapTools {

	public static void writeConfiguration(Configuration cfg, File file) throws IOException {
		try (FileWriter fwrt = new FileWriter(file);
			PrintWriter out = new PrintWriter(fwrt)) {
			for (Map.Entry<String, String> entry : cfg.toMap().entrySet()) {
				out.print(entry.getKey());
				out.print(": ");
				out.println(entry.getValue());
			}
		}
	}

	private  BootstrapTools();

}