code: public static String join(Iterator<? extends EncodedPair> pairs, char pairSep, char nameValSep, boolean quoteName, boolean quoteVal){
          Writer sw = new StringBuilderWriter();
          try {
              join(sw, pairs,pairSep, nameValSep,quoteName,quoteVal);
          } catch (IOException e) {
              //ignore
          }
          return sw.toString();
      }
docs: Joins the given iterator of encoded pairs using nameValSep for name/value separator and pairSep for pair separator.
  @param pairs list of encoded pair to join
  @param pairSep character to use to join pairs
  @param nameValSep character to use to join name/value for each pair
  @param quoteName if true, will double quote the name while joining
  @param quoteVal if true, will double quote the value while joining
  @return joined pairs