public class URIStringBuilder extends Object
| Constructor and Description |
|---|
URIStringBuilder(String uriString)
Create the builder with the first part of a URL.
|
| Modifier and Type | Method and Description |
|---|---|
URIStringBuilder |
addPath(String... pathSectionArray)
Add the supplied path section strings to the end of the path for this URL.
|
String |
build()
Create a string from the properties of this builder containing the base URL at the front and all the path sections
following.
|
public URIStringBuilder(String uriString)
uriString - the first part of the URL to be builtpublic URIStringBuilder addPath(String... pathSectionArray)
pathSectionArray - one or more strings to be added to the path of this URLpublic String build()
Copyright © 2004–2021. All rights reserved.