private static String urlDecode(String s) { try { return URLDecoder.decode(s, StandardCharsets.UTF_8.name()); } catch (UnsupportedEncodingException e) { // Should never happen e.printStackTrace(); throw new RuntimeException(e.getMessage()); } }
private static String urlDecode(String s) { try { return URLDecoder.decode(s, StandardCharsets.UTF_8.name()); } catch (UnsupportedEncodingException e) { // Should never happen e.printStackTrace(); throw new RuntimeException(e.getMessage()); } }