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

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

public class ResourceLoaderFactory
extends Object

Factory to grab a template loader.

Version:
$Id: ResourceLoaderFactory.java 151549 2005-02-06 06:19:43Z wglass $
Author:
Jason van Zyl

Constructor Summary
ResourceLoaderFactory()
           
 
Method Summary
static ResourceLoader getLoader(RuntimeServices rs, 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,
                                       String loaderClassName)
                                throws Exception
Gets the loader specified in the configuration file.

Returns:
TemplateLoader
Throws:
Exception


Copyright © 2002 Apache Software Foundation. All Rights Reserved.