public AbstractTemplateEngine() {
formats = new HashMap();
/**
* Manage image with Inputstream
*/
formats.put(FileInputStream.class, new DefaultInputStreamFormat());
formats.put(InputStream.class, new DefaultInputStreamFormat());
// Manage RTF code
formats.put(RTFCodeString.class, new DefaultRTFCodeStringFormat());
}