Path

com.loopfor.zookeeper.Path$
See thePath companion trait
object Path

Constructs and deconstructs Path values.

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Path.type

Members list

Concise view

Value members

Concrete methods

def apply(path: String): Path

Constructs a new path using the given path string.

Constructs a new path using the given path string.

Path construction entails removal of extraneous / characters, including those at the end of path so long as path itself is not equivalent to "/".

Attributes

path

the path string

Returns:

a new path with the given path string

Used in pattern matching to deconstruct a path.

Used in pattern matching to deconstruct a path.

Attributes

path

selector value

Returns:

a Some containing the parts of path or None if path is null