/** * '%' and two following hex digit characters are converted to the * equivalent byte value. All other characters are passed through * unmodified. e.g. "ABC %24%25" -> "ABC $%" * * @param s * java.lang.String The encoded string. * @return java.lang.String The decoded version. */ public static String decode(String s, boolean convertPlus) { return decode(s, convertPlus, null); }