private static String normalisePath(String path){
  return path.replace('\\','/');
}

private static String normalisePath ( String path ) { return path . replace ( '\\' , '/' ) ; }
this method replaces all \ to / .
