Here you can find the source of normalizePath(final String path)
Parameter | Description |
---|---|
path | the path |
private static String normalizePath(final String path)
//package com.java2s; //License from project: Apache License public class Main { /**/* w w w . j a v a 2s . c om*/ * Normalize path. * * @param path the path * @return the string */ private static String normalizePath(final String path) { return path.replace("%7E", "~").replace(" ", "%20"); } }