Here you can find the source of normalizePath(String path)
public static String normalizePath(String path)
//package com.java2s; //License from project: LGPL public class Main { public static String normalizePath(String path) { String separator = "/"; return path.replaceAll("\\\\", separator); }/*from ww w . j ava 2 s. com*/ }