public class ParameterList extends Object
Constructor and Description |
---|
ParameterList()
Creates a new empty instance.
|
ParameterList(Map<String,String> parameters)
Creates a new instance.
|
public ParameterList()
IllegalArgumentException
- if any parameter is null
public ParameterList(Map<String,String> parameters)
parameters
- the key value pairsIllegalArgumentException
- if any parameter is null
public Map<String,String> getPairs()
public String replace(String string, boolean strict)
${variable-name}
.string
- target stringstrict
- true
to keep undefined parameters,
or false
to raise an exceptionIllegalArgumentException
- if undefined parameters exist on strict mode,
or any parameters contain null
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.