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 nullpublic ParameterList(Map<String,String> parameters)
parameters - the key value pairsIllegalArgumentException - if any parameter is nullpublic 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 nullCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.