- java.lang.Object
-
- swim.uri.UriPathBuilder
-
-
Constructor Summary
Constructors Constructor Description UriPathBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
add(String component)
Adds a single input value to this builder, returningtrue
if the state of the builder changed.boolean
addAll(Collection<? extends String> components)
Adds multiple input values to this builder, returningtrue
if the state of the builder changed.boolean
addPath(UriPath path)
boolean
addSegment(String segment)
boolean
addSlash()
UriPath
bind()
Returns the output result of this builder.boolean
isEmpty()
UriPath
pop()
int
size()
-
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
-
size
public int size()
-
add
public boolean add(String component)
Description copied from interface:Builder
Adds a single input value to this builder, returningtrue
if the state of the builder changed.
-
addAll
public boolean addAll(Collection<? extends String> components)
Description copied from interface:Builder
Adds multiple input values to this builder, returningtrue
if the state of the builder changed.
-
bind
public UriPath bind()
Description copied from interface:Builder
Returns the output result of this builder.
-
addSlash
public boolean addSlash()
-
addSegment
public boolean addSegment(String segment)
-
addPath
public boolean addPath(UriPath path)
-
pop
public UriPath pop()
-
-