code: public static void putHashTable(final String name, final Hashtable hash) {
  		final Enumeration<String> keys = hash.keys();
  		final StringBuffer buf = new StringBuffer("");
  		while (keys.hasMoreElements()) {
  			if (!buf.toString().equals("")) {
  				// end the previous record
  				buf.append(";");
  			}
  			final String key = keys.nextElement();
  			final String value = hash.get(key).toString();
  			buf.append(key + ":" + value);
  		}
  		put(fixKey(name), buf.toString());
  	}
docs: Put hash table.
  
  @param name the name
  @param hash the hash