jetbrick-commons/src/main/java/jetbrick/io/PathUtils.java
public static String separatorsToWindows(String path) {
        if (path == null || path.indexOf('/') == -1) {
            return path;
        }
        return path.replace('/', '\\');
    }
public static String separatorsToWindows(String path) {
        if (path == null || path.indexOf('/') == -1) {
            return path;
        }
        return path.replace('/', '\\');
    }
public static String separatorsToWindows ( String path ) { if ( path == null || path . indexOf ( ' ' ) == - 1 ) { return path ; } return path . replace ( ' ' , ' ' ) ; }
转为 Windows 样式的路径.
转为 Windows 样式的路径 .