public class BaseName extends Object implements Comparable<BaseName>
//foo/bar
part of cell//foo/bar:baz
.Modifier and Type | Method and Description |
---|---|
int |
compareTo(BaseName o) |
boolean |
equals(Object o) |
ForwardRelativePath |
getPath() |
int |
hashCode() |
static BaseName |
of(String baseName)
Parse a string as a base name (string must start with "//").
|
static BaseName |
ofPath(ForwardRelativePath path)
Create a base name from path (prepend "//").
|
String |
toString() |
public static final BaseName ROOT
public static BaseName of(String baseName)
public static BaseName ofPath(ForwardRelativePath path)
public ForwardRelativePath getPath()
public int compareTo(BaseName o)
compareTo
in interface Comparable<BaseName>