org.apache.velocity.runtime.resource.loader
Class ResourceLoaderFactory

java.lang.Object
  extended by org.apache.velocity.runtime.resource.loader.ResourceLoaderFactory

public class ResourceLoaderFactory
extends java.lang.Object

Factory to grab a template loader.

Version:
$Id: ResourceLoaderFactory.java,v 1.6.8.1 2004/03/03 23:23:02 geirm Exp $
Author:
Jason van Zyl

Constructor Summary
ResourceLoaderFactory()
           
 
Method Summary
static ResourceLoader getLoader(RuntimeServices rs, java.lang.String loaderClassName)
          Gets the loader specified in the configuration file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceLoaderFactory

public ResourceLoaderFactory()
Method Detail

getLoader

public static ResourceLoader getLoader(RuntimeServices rs,
                                       java.lang.String loaderClassName)
                                throws java.lang.Exception
Gets the loader specified in the configuration file.

Returns:
TemplateLoader
Throws:
java.lang.Exception


Copyright ? 2002 Apache Software Foundation. All Rights Reserved.