public interface TemplateMerger
String merge(String templateName, Map<String,?> dataObjects) throws Exception
templateName - name of an object (e.g. file) which contains the template to be filledMergeException - if the merge fails for any reason (e.g. IOException reading a file).
Implementations should probably instead throw RuntimeExceptions for cases which are
caused by coding bugs, such as specifying a particular template but failing to provide
a data object required by that template.ExceptionCopyright © 2014 Eteration A.S.. All rights reserved.