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 687177 2008-08-19 22:00:32Z nbubna $
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-2008 The Apache Software Foundation. All Rights Reserved.