URL url = new URL(urlStr) URI uri = new URI(url.getProtocol(), url.getUserInfo(), url.getHost(), url.getPort(), url.getPath(), url.getQuery(), url.getRef()) url = uri.toURL()
Encode url (Change spaces etc.)
Posted on
by Kim
Subscribe to:
Post Comments (Atom)
0 Responses to "Encode url (Change spaces etc.)":
Post a Comment