Code example for Writer

Methods: append

0
		BufferedReader r = new BufferedReader(new InputStreamReader(is));
		//Reader r = new FileReader(stgTemplateUrl.getFile()); 
		StringTemplateGroup group = new StringTemplateGroup(r);
		StringTemplate t = group.getInstanceOf("javaclass");
		t.setAttribute("ctxt", dtlContext);
		w.append(t.toString(80));
	} 
 
}