Here you can find the source of toUrlSafe(String timeZoneId)
public static String toUrlSafe(String timeZoneId)
//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*/ }