public class DotPath extends Object
Modifier and Type | Method and Description |
---|---|
DotPath |
append(String segment)
Append a segment to the dotpath.
|
static DotPath |
empty()
Returns an empty dotpath.
|
static DotPath |
from(String dotPath)
Creates a new
DotPath from dotPath . |
boolean |
isEmpty()
Returns whether this dotpath is empty.
|
String |
toString() |
public static DotPath from(@Nullable String dotPath)
DotPath
from dotPath
.dotPath
- the dot path, can be empty or null.DotPath
representing dotPath
.public static DotPath empty()
public DotPath append(String segment)
segment
- the segment to append.public boolean isEmpty()
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.