jp.ne.cappuccino.keisuken.servlet.flavor

class TemplateManager

[source: jp/ne/cappuccino/keisuken/servlet/flavor/TemplateManager.scala]

class TemplateManager(sourceDir : java.io.File, parentClassLoader : java.lang.ClassLoader, updateCheckInterval : Long, staticMode : Boolean)
extends AnyRef
Template manager.
Author
NISHIMOTO Keisuke.
Version
0.2.8, 2008/10/10, 2008/10/14.
Method Summary
def clear : Unit
Clear templates.
def get (servletPath : java.lang.String, name : java.lang.String) : scala.Option[Template]
Get template instance.
def put (servletPath : java.lang.String, createdTime : Long, template : Template) : Template
Regist template.
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Class Summary
class TemplateCache (val createdTime : Long, val checkedTime : Long, val template : scala.Option[Template]) extends AnyRef
Template cache info.
Method Details
def clear : Unit
Clear templates.

def get(servletPath : java.lang.String, name : java.lang.String) : scala.Option[Template]
Get template instance.
Parameters
servletPath - Servlet path.
name - page name.
Returns
Template instance.

def put(servletPath : java.lang.String, createdTime : Long, template : Template) : Template
Regist template.
Parameters
servletPath - Servlet path.
createdTime - Template source lastmodified.
flavor - Template instance.
Returns
Registed Template instance