public final class URLStrParser extends Object
| Modifier and Type | Method and Description |
|---|---|
static URL |
parseDecodedStr(String decodedURLStr) |
static URL |
parseEncodedStr(String encodedURLStr) |
public static URL parseDecodedStr(String decodedURLStr)
decodedURLStr - : after URL.decode(java.lang.String) string
decodedURLStr format: protocol://username:password@host:port/path?k1=v1&k2=v2
[protocol://][username:password@][host:port]/[path][?k1=v1&k2=v2]public static URL parseEncodedStr(String encodedURLStr)
encodedURLStr - : after URL.encode(String) string
encodedURLStr after decode format: protocol://username:password@host:port/path?k1=v1&k2=v2
[protocol://][username:password@][host:port]/[path][?k1=v1&k2=v2]Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.