public static void writePropertiesFile( File file, HashMap properties )
public static void writePropertiesFile( File file, Map properties )
	public static void writePropertiesFile( File file, HashMap properties ) 	throws IOException 	{		Object[] keys = properties.keySet().toArray();		String[] lines = new String[ keys.length ];		for (int i = 0; i < lines.length; i++) {			String key = keys[i].toString();			String value = properties.get( key ).toString();			lines[i] = key.toString() + "=" + value.toString();		}		writeTextFile( file, lines );	}