public class Path extends Object
| Modifier and Type | Method and Description |
|---|---|
Path |
append(Path items) |
Path |
append(String... items) |
Path |
child(Path path) |
boolean |
equals(Object o) |
String |
first() |
String |
get(int index) |
int |
hashCode() |
Path |
head(int size) |
boolean |
isEmpty() |
String |
last() |
String |
name() |
static Path |
of(String... items) |
Path |
parent() |
static Path |
root() |
int |
size() |
Path |
skipFirst() |
Path |
skipLast() |
boolean |
startsWith(Path child) |
Path |
subPath(int from) |
Path |
subPath(int from,
int to) |
Path |
tail(int size) |
String |
toString() |
public static Path root()
public String get(int index)
public boolean startsWith(Path child)
public Path parent()
public boolean isEmpty()
public int size()
public String name()
public String last()
public String first()
public Path skipLast()
public Path skipFirst()
public Path subPath(int from)
public Path subPath(int from, int to)
public Path tail(int size)
public Path head(int size)
Copyright © 2022 vpc open source initiative. All rights reserved.