code: public static String getKeyList(Iterator<Key> it, String delimiter) {
  	StringBuilder sb = new StringBuilder(it.next().getString());
  	if (delimiter.length() == 1) {
  	    char c = delimiter.charAt(0);
  	    while (it.hasNext()) {
  		sb.append(c);
  		sb.append(it.next().getString());
  	    }
  	}
  	else {
  	    while (it.hasNext()) {
  		sb.append(delimiter);
  		sb.append(it.next().getString());
  	    }
  	}
  	return sb.toString();
      }
docs: /*
  public static String[] toStringArray(Key[] keys) { if(keys==null) return null; String[] arr=new
  String[keys.length]; for(int i=0;i<keys.length;i++){ arr[i]=keys[i].getString(); } return arr; }