Java URL Normalize normalizeToLUrl(String toLUrl)

Here you can find the source of normalizeToLUrl(String toLUrl)

Description

normalize To L Url

License

Apache License

Declaration

public static String normalizeToLUrl(String toLUrl) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    public static String normalizeToLUrl(String toLUrl) {
        String res = toLUrl.replace("http", "https");
        res = res.replace("//treasuryoflives.org", "//www.treasuryoflives.org");
        res = res.replace("//beta.treasuryoflives.org", "//www.treasuryoflives.org");
        return res;
    }/*from   w  w  w.  j  a v  a2  s .c o  m*/
}

Related

  1. normalize(URL url)
  2. normalizeBaseUrl(String networkUrl)
  3. normalizeCapabilitiesUrl(String url)
  4. normalizePrefix(String url)
  5. normalizeShortUrl(String url)
  6. normalizeToURL(String surl)
  7. NormalizeURL(final String taintedURL)
  8. normalizeUrl(final String url)
  9. normalizeUrl(String baseUrl, List urlList)