Package com.github.loyada.jdollarx.utils
Class PathShortNames
- java.lang.Object
-
- com.github.loyada.jdollarx.utils.PathShortNames
-
public class PathShortNames extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Path
ancestorOf(Path path)
Aliasstatic Path
childOf(Path path)
Aliasstatic Path
parentOf(Path path)
Aliasstatic Path
siblingOf(Path path)
Alias
-
-
-
Method Detail
-
parentOf
public static Path parentOf(Path path)
Alias- Parameters:
path
- the element- Returns:
- the corresponding Path definition
-
childOf
public static Path childOf(Path path)
Alias- Parameters:
path
- the element- Returns:
- the corresponding Path definition
-
ancestorOf
public static Path ancestorOf(Path path)
Alias- Parameters:
path
- the element- Returns:
- the corresponding Path definition
-
-