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 463298 2006-10-12 16:10:32Z henning $
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.

Parameters:
rs -
loaderClassName -
Returns:
TemplateLoader
Throws:
Exception


Copyright © 2000-2007 The Apache Software Foundation. All Rights Reserved.