public class StringParameterBuilder
extends java.lang.Object
| Constructor and Description |
|---|
StringParameterBuilder() |
| Modifier and Type | Method and Description |
|---|---|
void |
addParameter(@NotNull java.lang.String key,
@NotNull java.lang.String value)
Adds a parameter key/value pair.
|
@NotNull java.lang.String |
replace(@NotNull java.lang.CharSequence spec)
Replaces all parameters in a string.
|
public void addParameter(@NotNull
@NotNull java.lang.String key,
@NotNull
@NotNull java.lang.String value)
key - the parameter's keyvalue - the parameter's value@NotNull
public @NotNull java.lang.String replace(@NotNull
@NotNull java.lang.CharSequence spec)
throws SyntaxErrorException
spec - the input stringSyntaxErrorException - if a parameter is invalid