MCPcopy Create free account
hub / github.com/f0ng/captcha-killer-modified / URLEncode

Method URLEncode

src/main/java/utils/Util.java:242–253  ·  view source on GitHub ↗
(String str)

Source from the content-addressed store, hash-verified

240 }
241
242 public static String URLEncode(String str) {
243 String result = "";
244 if (null == str) {
245 return "";
246 }
247 try {
248 result = java.net.URLEncoder.encode(str, "UTF-8");
249 } catch (UnsupportedEncodingException e) {
250 stdout.println(e.getMessage());
251 }
252 return result;
253 }
254
255 public static String URLDecode(String str) {
256 String result = "";

Callers 1

encdoeLableMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected