Lines Matching defs:quoted
454 public static String unquote(final String quoted) {
455 if (null == quoted) {
458 final byte[] unquoted = new byte[quoted.length()]; // result cannot be longer than original string
462 for (int i=0; i < quoted.length(); i++) { // iterarate over all chars in the input
463 c = quoted.charAt(i);
465 if ((i + 2) >= quoted.length()) {
466 throw LOGGER.logSevereException(new RuntimePolicyUtilsException(LocalizationMessages.WSP_0079_ERROR_WHILE_RFC_2396_UNESCAPING(quoted)), false);
468 hi = Character.digit(quoted.charAt(++i), 16);
469 lo = Character.digit(quoted.charAt(++i), 16);
471 throw LOGGER.logSevereException(new RuntimePolicyUtilsException(LocalizationMessages.WSP_0079_ERROR_WHILE_RFC_2396_UNESCAPING(quoted)), false);
481 throw LOGGER.logSevereException(new RuntimePolicyUtilsException(LocalizationMessages.WSP_0079_ERROR_WHILE_RFC_2396_UNESCAPING(quoted), uee));