Java URL Create toUrlSafe(String timeZoneId)

Here you can find the source of toUrlSafe(String timeZoneId)

Description

to Url Safe

License

Open Source License

Declaration

public static String toUrlSafe(String timeZoneId) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static String toUrlSafe(String timeZoneId) {
        return timeZoneId.replace('/', '!');
    }/*from w ww.  j a  v a 2  s.c o  m*/
}

Related

  1. toUrl(String s)
  2. toUrl(String url)
  3. toUrlDate(String date)
  4. toUrlPagePath(String pagePath)
  5. toUrlParameterString(String fenString)
  6. toURLString(byte[] hash)
  7. toURLString(String s)