public final class Paths
extends java.lang.Object
Call
.Modifier and Type | Method and Description |
---|---|
static java.lang.String |
canonical(java.lang.String url)
Create a canonical path that does not contain parent directories, current directories, or superfluous directory
separators.
|
static java.lang.String |
relative(java.lang.String startPath,
java.lang.String targetPath)
Create a path to targetPath that's relative to the given startPath.
|
public static java.lang.String relative(java.lang.String startPath, java.lang.String targetPath)
public static java.lang.String canonical(java.lang.String url)