FreeHEP API
Version current

org.freehep.tools
Class WebPageFileResourceLoader

java.lang.Object
  extended byorg.apache.velocity.runtime.resource.loader.ResourceLoader
      extended byorg.apache.velocity.runtime.resource.loader.FileResourceLoader
          extended byorg.freehep.tools.WebPageFileResourceLoader

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

Source Code:
WebPageFileResourceLoader.java

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
Throws:
org.apache.velocity.exception.ResourceNotFoundException

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.