API Overview
API Index
Package Overview
Direct link to this page
JavaOnTracks 0.1.2
net.jot.web.
JOTTemplateCache
View Source
Author(s)
thibautc
Since
Version
Serial
Hierarchy
Object
JOTTemplateCache
Implements
Subclasses
See DIRECT subclasses
Quick Links:
Constructors
Methods
Fields
NestedClasses
Description
public
class JOTTemplateCache
Allow the caching in memory of the templates.
Allow the caching in memory of the templates.
Rather than having to read the template from file continously, we will cache them in memory..
See also:
Constructors
public
JOTTemplateCache
()
Methods
Hide/Show inherited methods
public
static
String
getTemplate
(
String
templatePath) throws
Exception
Retrieve a template (as a string String) from the cache.
Retrieve a template (as a string String) from the cache.
Loads it first if not in cache yet
Returns:
Parameters:
-
templatePath
-
Throws:
-
Exception
- if reading the template file fails.
Fields
Hide/Show inherited fields
public
static
Hashtable
templates
Nested Classes
Generated By:
JavaOnTracks Doclet
0.1.4 ©Thibaut Colar