FreeHEP API
Version v1.2.2

org.freehep.tools
Class WebPageFileResourceLoader

java.lang.Object
  |
  +--org.apache.velocity.runtime.resource.loader.ResourceLoader
        |
        +--org.apache.velocity.runtime.resource.loader.FileResourceLoader
              |
              +--org.freehep.tools.WebPageFileResourceLoader

public class WebPageFileResourceLoader
extends org.apache.velocity.runtime.resource.loader.FileResourceLoader


Field Summary
 
Fields inherited from class org.apache.velocity.runtime.resource.loader.ResourceLoader
className, isCachingOn, modificationCheckInterval, rsvc
 
Constructor Summary
WebPageFileResourceLoader()
           
 
Method Summary
 InputStream getResourceStream(String templateName)
           
 void setContext(org.apache.velocity.context.Context context)
           
 
Methods inherited from class org.apache.velocity.runtime.resource.loader.FileResourceLoader
getLastModified, init, isSourceModified
 
Methods inherited from class org.apache.velocity.runtime.resource.loader.ResourceLoader
commonInit, getClassName, getModificationCheckInterval, isCachingOn, setCachingOn, setModificationCheckInterval
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebPageFileResourceLoader

public WebPageFileResourceLoader()
                          throws Exception
Method Detail

setContext

public void setContext(org.apache.velocity.context.Context context)

getResourceStream

public InputStream getResourceStream(String templateName)
                              throws org.apache.velocity.exception.ResourceNotFoundException
Overrides:
getResourceStream in class org.apache.velocity.runtime.resource.loader.FileResourceLoader
org.apache.velocity.exception.ResourceNotFoundException

FreeHEP API
Version v1.2.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.