public class Path extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
Path.LengthComparator |
| Modifier and Type | Field and Description |
|---|---|
static Path.LengthComparator |
LENGTH_COMPARATOR |
static Path |
root |
| Modifier and Type | Method and Description |
|---|---|
Path |
child(String name) |
boolean |
equals(Object obj) |
List<String> |
getAfterFirst() |
String |
getFirst() |
int |
getLength() |
String |
getName() |
Path |
getParent() |
String[] |
getParts() |
Path |
getStripFirst() |
int |
hashCode() |
boolean |
isRelative() |
boolean |
isRoot() |
static Path |
path(Path parent,
String path) |
static Path |
path(String path) |
static Path |
root() |
String |
toString() |
String |
toString(String delimiter) |
public static final Path root
public static final Path.LengthComparator LENGTH_COMPARATOR
public int getLength()
public String[] getParts()
public String getFirst()
public Path getStripFirst()
public String getName()
public Path getParent()
public boolean isRoot()
public static Path root()
public boolean isRelative()
Copyright © 2020. All rights reserved.