public class PathUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
canonicalPath(java.io.File file)
Get canonical path and replace file separators by forward slash.
|
static java.lang.String |
sanitize(java.lang.String path)
Normalize path and replace file separators by forward slash
|
@CheckForNull
public static java.lang.String sanitize(@Nullable
java.lang.String path)
@CheckForNull
public static java.lang.String canonicalPath(@Nullable
java.io.File file)