ccc.plugins.scripting.velocity
Class CCCResourceLoader

java.lang.Object
  extended by org.apache.velocity.runtime.resource.loader.ResourceLoader
      extended by ccc.plugins.scripting.velocity.CCCResourceLoader

public class CCCResourceLoader
extends org.apache.velocity.runtime.resource.loader.ResourceLoader

A Velocity resource loader that delegates to a StatefulReader.

Author:
Civic Computing Ltd.

Field Summary
 
Fields inherited from class org.apache.velocity.runtime.resource.loader.ResourceLoader
className, isCachingOn, log, modificationCheckInterval, rsvc
 
Constructor Summary
CCCResourceLoader()
           
 
Method Summary
 long getLastModified(org.apache.velocity.runtime.resource.Resource arg0)
          
 java.io.InputStream getResourceStream(java.lang.String absolutePath)
          
 void init(org.apache.commons.collections.ExtendedProperties arg0)
          
 boolean isSourceModified(org.apache.velocity.runtime.resource.Resource arg0)
          
 
Methods inherited from class org.apache.velocity.runtime.resource.loader.ResourceLoader
commonInit, getClassName, getModificationCheckInterval, isCachingOn, resourceExists, setCachingOn, setModificationCheckInterval
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CCCResourceLoader

public CCCResourceLoader()
Method Detail

getLastModified

public long getLastModified(org.apache.velocity.runtime.resource.Resource arg0)

Specified by:
getLastModified in class org.apache.velocity.runtime.resource.loader.ResourceLoader

getResourceStream

public java.io.InputStream getResourceStream(java.lang.String absolutePath)

Specified by:
getResourceStream in class org.apache.velocity.runtime.resource.loader.ResourceLoader

init

public void init(org.apache.commons.collections.ExtendedProperties arg0)

Specified by:
init in class org.apache.velocity.runtime.resource.loader.ResourceLoader

isSourceModified

public boolean isSourceModified(org.apache.velocity.runtime.resource.Resource arg0)

Specified by:
isSourceModified in class org.apache.velocity.runtime.resource.loader.ResourceLoader


Copyright © 2010. All Rights Reserved.