Here you can find the source of normalizePath(final String path)
public static String normalizePath(final String path)
//package com.java2s; //License from project: Open Source License public class Main { /**//from w w w.j a v a2s . c om * Converts path characters from their native * format to the "forward-slash" format expected * within RPM files. */ public static String normalizePath(final String path) { return path.replace('\\', '/'); } }