StringBuffer s = new StringBuffer ();
StringBuilder s = new StringBuilder ();
  public void store(OutputStream out, String header) throws IOException  {    // The spec says that the file must be encoded using ISO-8859-1.    PrintWriter writer      = new PrintWriter(new OutputStreamWriter(out, "ISO-8859-1"));    if (header != null)      writer.println("#" + header);    writer.println ("#" + Calendar.getInstance ().getTime ());        Iterator iter = entrySet ().iterator ();    int i = size ();    StringBuffer s = new StringBuffer (); // Reuse the same buffer.    while (--i >= 0)      {        Map.Entry entry = (Map.Entry) iter.next ();        formatForOutput ((String) entry.getKey (), s, true);        s.append ('=');        formatForOutput ((String) entry.getValue (), s, false);        writer.println (s);      }    writer.flush ();  }