|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.bejug.javacareers.common.templates.TemplateUtilities
| Constructor Summary | |
TemplateUtilities()
default constructor. |
|
| Method Summary | |
java.util.List |
getAllTemplates()
gets all the templates available. |
java.util.List |
getAllTemplatesByLanguage(java.lang.String language)
gets all templates that are written for a certain language |
java.util.List |
getAllTemplatesByName(java.lang.String template)
loads all templates by name. |
TemplateHolder |
getTemplate(java.lang.String template)
gets a template by name. |
TemplateHolder |
getTemplate(java.lang.String template,
java.lang.String locale)
gets a template based on the name and locale of the template. |
org.apache.velocity.app.VelocityEngine |
getVelocityEngine()
|
void |
setVelocityEngine(org.apache.velocity.app.VelocityEngine velocityEngine)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TemplateUtilities()
| Method Detail |
public TemplateHolder getTemplate(java.lang.String template)
template - a String indicating the name of the template.
public TemplateHolder getTemplate(java.lang.String template,
java.lang.String locale)
template - the name of the template to match.locale - the locale to match
public java.util.List getAllTemplates()
public java.util.List getAllTemplatesByLanguage(java.lang.String language)
language - the language to match.
public java.util.List getAllTemplatesByName(java.lang.String template)
template - the name of the template.
public org.apache.velocity.app.VelocityEngine getVelocityEngine()
public void setVelocityEngine(org.apache.velocity.app.VelocityEngine velocityEngine)
velocityEngine - the engine to set.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||