|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object play.templates.TemplateLoader
public class TemplateLoader
Load templates
Field Summary | |
---|---|
protected static java.util.Map<java.lang.String,Template> |
templates
|
Constructor Summary | |
---|---|
TemplateLoader()
|
Method Summary | |
---|---|
static void |
cleanCompiledCache()
|
static java.util.List<Template> |
getAllTemplate()
List all found templates |
static Template |
load(java.lang.String path)
Load a template |
static Template |
load(VirtualFile file)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static java.util.Map<java.lang.String,Template> templates
Constructor Detail |
---|
public TemplateLoader()
Method Detail |
---|
public static Template load(VirtualFile file)
public static void cleanCompiledCache()
public static Template load(java.lang.String path)
path
- The path of the template (ex: Application/index.html)
public static java.util.List<Template> getAllTemplate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |