org.apache.velocity.runtime.resource
Class ResourceFactory

java.lang.Object
  extended by org.apache.velocity.runtime.resource.ResourceFactory

public class ResourceFactory
extends Object

Class responsible for instantiating Resource objects, given name and type.

Version:
$Id: ResourceFactory.java 463298 2006-10-12 16:10:32Z henning $
Author:
Jason van Zyl, Geir Magnusson Jr.

Constructor Summary
ResourceFactory()
           
 
Method Summary
static Resource getResource(String resourceName, int resourceType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceFactory

public ResourceFactory()
Method Detail

getResource

public static Resource getResource(String resourceName,
                                   int resourceType)
Parameters:
resourceName -
resourceType -
Returns:
The resource described by name and type.


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