public static String separatorsToUnix(String path) {
        if (path == null || path.indexOf('\\') == -1) {
            return path;
        }
        return path.replace('\\', '/');
    }
public static String separatorsToUnix ( String path ) { if ( path == null || path . indexOf ( '\\' ) == - 1 ) { return path ; } return path . replace ( '\\' , '/' ) ; }
转为 Unix 样式的路径.