org.apache.velocity.runtime.resource.loader

Class 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

Method Summary

static ResourceLoader
getLoader(RuntimeServices rs, String loaderClassName)
Gets the loader specified in the configuration file.

Method Details

getLoader

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

Returns:
TemplateLoader


Copyright B) 2002 Apache Software Foundation. All Rights Reserved.