public class DottedPath extends Object implements Iterable<DottedPath>
| Constructor and Description |
|---|
DottedPath(String name)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
static DottedPath |
append(DottedPath parent,
String segment) |
DottedPath |
append(List<String> segments) |
DottedPath |
append(String segment) |
boolean |
equals(Object obj) |
String |
getAbsoluteName()
Fully qualified name of this element
|
String |
getName()
Local name of this element
|
DottedPath |
getParent()
Parent element in path
|
int |
hashCode() |
Iterator<DottedPath> |
iterator() |
static DottedPath |
parse(String path) |
int |
size()
Number of elements from the head element to this element
|
String |
toString() |
StringBuilder |
toString(StringBuilder sb,
String separator)
Absolute name of this path using the specified separator.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic DottedPath(String name)
public static DottedPath parse(String path)
public static DottedPath append(DottedPath parent, String segment)
public DottedPath append(String segment)
public DottedPath append(List<String> segments)
public int size()
public Iterator<DottedPath> iterator()
iterator in interface Iterable<DottedPath>public DottedPath getParent()
public String getAbsoluteName()
public String getName()
public StringBuilder toString(StringBuilder sb, String separator)
separator - String to append between each path levelCopyright © 2015. All Rights Reserved.