public static String decodeWithDefaultCharSet(String urlToDecode) {
    try {
      return URLDecoder.decode(urlToDecode, Charset.defaultCharset().name());
    } catch (UnsupportedEncodingException e) {
      return urlToDecode;
    }
  }
This class contains utility methods used by classes used to build the Command Line Interface
(CLI).

@since GemFire 7.0
geode-gfsh/src/main/java/org/apache/geode/management/internal/cli/CliUtils.java