org.apache.velocity.runtime.resource
Class ResourceFactory
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceFactory
public ResourceFactory()
getResource
public static Resource getResource(String resourceName,
int resourceType)
- Parameters:
resourceName
- resourceType
-
- Returns:
- The resource described by name and type.
Copyright © 2000-2008 The Apache Software Foundation. All Rights Reserved.