Iterator it = _parameters.entrySet().iterator(); StringBuffer result = new StringBuffer(); while (it.hasNext()) { Map.Entry entry = (Map.Entry) it.next(); result.append(";"); String key = (String)entry.getKey();  if (key == null || key.length() == 0) { continue; } result.append(key); result.append("=");  result.append(MimeUtility.quote((String)entry.getValue(), HeaderTokenizer.MIME)); } return result.toString();
return toString(0);
    public String toString() {        Iterator it = _parameters.entrySet().iterator();        StringBuffer result = new StringBuffer();        while (it.hasNext()) {            Map.Entry entry = (Map.Entry) it.next();            result.append(";");            String key = (String)entry.getKey();            // we occasionally end up with null entries.  If we encounter one, just skip over it.            if (key == null || key.length() == 0) {                continue;            }            result.append(key);            result.append("=");            // this could contain special characters, so make sure it gets quoted if required.            result.append(MimeUtility.quote((String)entry.getValue(), HeaderTokenizer.MIME));        }        return result.toString();    }