public class ParameterHandler
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
VALID_CHARS
Valid parameter identifier characters.
|
Constructor and Description |
---|
ParameterHandler() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
assignParameterValues(java.lang.String s,
java.util.Map<java.lang.String,java.lang.String> parameterValues)
Replaces parameters with parameter values.
|
static void |
collectParameter(java.lang.String s,
java.util.Set<java.lang.String> parameters)
Collects all parameters in a given string.
|
public static final java.lang.String VALID_CHARS
public static void collectParameter(java.lang.String s, java.util.Set<java.lang.String> parameters)
s
- the stringparameters
- to put parameters intopublic static java.lang.String assignParameterValues(java.lang.String s, java.util.Map<java.lang.String,java.lang.String> parameterValues)
s
- string with parametersparameterValues
- map from parameters to parameter values