public final class KeyBasedReplacementStrategy extends Object implements ReplacementStrategy<String,String>
Properties instance. It replaces them with their corresponding
values. The property names are the place-holders name without the
% prefix| Constructor and Description |
|---|
KeyBasedReplacementStrategy(Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
String |
replace(String templateString)
Replace the place-holders in the input templateString and builds the
relative OPPLScript.
|
public KeyBasedReplacementStrategy(Properties properties)
properties - propertiespublic String replace(String templateString)
ReplacementStrategyreplace in interface ReplacementStrategy<String,String>templateString - templatenull if
parser errors occurred.Copyright © 2015 The University of Manchester. All Rights Reserved.