|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jooreports.templates.DocumentTemplateFactory
public class DocumentTemplateFactory
Constructor Summary | |
---|---|
DocumentTemplateFactory()
|
Method Summary | |
---|---|
freemarker.template.Configuration |
getFreemarkerConfiguration()
Retrieves the FreeMarker Configuration for this factory. |
DocumentTemplate |
getTemplate(java.io.File file)
|
DocumentTemplate |
getTemplate(java.io.InputStream inputStream)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DocumentTemplateFactory()
Method Detail |
---|
public freemarker.template.Configuration getFreemarkerConfiguration()
Configuration
for this factory.
You can use this method to set custom FreeMarker options on the returned
Configuration
, and they will apply to all templates returned by
this factory.
Any such customizations should be made right after initializaion, before using this factory to create any template.
Configuration
public DocumentTemplate getTemplate(java.io.File file) throws java.io.IOException
java.io.IOException
public DocumentTemplate getTemplate(java.io.InputStream inputStream) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |