return writer.toString();
}
public static void runTemplate(String language, String name, Writer writer, Map<String, Object> context) throws IOException {
FileObject file = CommonsVfsContainer.resolveFile(name);
CompiledTemplate template = getTemplate(language, file);
template.run(file, writer, context);
}