code: public static String decode(String path, String encoding) {
          try {
              return URLDecoder.decode(path, encoding);
          } catch (UnsupportedEncodingException e) {
              throw MESSAGES.cannotDecode(path,encoding,e);
          }
      }
docs: Decode the path.
  
  @param path     the path to decode
  @param encoding the encoding
  @return decoded path