Example #1
0
 public static final String encodeProperties(Properties pp) {
   StringBuffer sb = new StringBuffer();
   Enumeration en = pp.keys();
   while (en.hasMoreElements()) {
     String key = (String) en.nextElement();
     appendProp(sb, key, pp, en.hasMoreElements());
   }
   return sb.toString();
 }