public static String normalizePath(String path){
  return path.replace(File.separatorChar,'/');
}

public static String normalizePath ( String path ) { return path . replace ( File . separatorChar , '/' ) ; }
normalize path by ensuring that only " / " is used as file name separator .
