public class Paths
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static char |
DELIM |
Constructor and Description |
---|
Paths() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
appended(java.lang.String path,
java.lang.String child) |
static boolean |
equals(java.lang.String p1,
java.lang.String p2) |
static java.lang.String |
getNameOf(java.lang.String path) |
static java.lang.String |
getParentOf(java.lang.String path) |
static boolean |
isCaseSensitive() |
static boolean |
isParent(java.lang.String parent,
java.lang.String path) |
static boolean |
isParentOrChild(java.lang.String p1,
java.lang.String p2) |
static java.lang.String |
relativeIfUnder(java.lang.String path,
java.lang.String root) |
static java.lang.String |
renamed(java.lang.String path,
java.lang.String newName) |
static java.lang.String |
reparented(java.lang.String path,
java.lang.String newParentPath) |
static void |
setCaseSensitive(boolean b) |
static java.lang.Iterable<java.lang.String> |
split(java.lang.String path) |
static void |
useSystemCaseSensitivity() |
public static final char DELIM
public static java.lang.String getNameOf(java.lang.String path)
public static java.lang.String getParentOf(java.lang.String path)
public static java.lang.String appended(java.lang.String path, java.lang.String child)
public static java.lang.String renamed(java.lang.String path, java.lang.String newName)
public static java.lang.String reparented(java.lang.String path, java.lang.String newParentPath)
public static java.lang.String relativeIfUnder(java.lang.String path, java.lang.String root)
public static java.lang.Iterable<java.lang.String> split(java.lang.String path)
public static boolean isParent(java.lang.String parent, java.lang.String path)
public static boolean isParentOrChild(java.lang.String p1, java.lang.String p2)
public static boolean equals(java.lang.String p1, java.lang.String p2)
public static void setCaseSensitive(boolean b)
public static boolean isCaseSensitive()
public static void useSystemCaseSensitivity()