Here you can find the source of sanitizeUrl(String url)
public static String sanitizeUrl(String url)
//package com.java2s; //License from project: Apache License public class Main { public static String sanitizeUrl(String url) { return url.replaceAll("\\\\", "/"); }// w w w . j a v a 2s . c om }