Android Utililty Methods URL to String Convert

List of utility methods to do URL to String Convert

Description

The list of methods to do URL to String Convert are organized into topic(s).

Method

StringgetNoQueryUrl(String source)
get No Query Url
String dest = null;
try {
    URL sUrl = new URL(source);
    URL dUrl = new URL(sUrl.getProtocol(), sUrl.getHost(),
            sUrl.getPort(), sUrl.getPath());
    dest = dUrl.toString();
} catch (MalformedURLException e) {
    e.printStackTrace();
...