public final class StringUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
cleanPath(String path)
Normalize the path by suppressing sequences like "path/.." and inner simple
dots.
|
public static String cleanPath(String path)
The result is convenient for path comparison. For other uses, notice that Windows separators ("\") are replaced by simple slashes.
path - the original pathCopyright © 2008-2016. All Rights Reserved.