Class ResourceFactory
java.lang.Object
org.apache.velocity.runtime.resource.ResourceFactory
Class responsible for instantiating
Resource
objects,
given name and type.- Version:
- $Id$
- Author:
- Jason van Zyl, Geir Magnusson Jr.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Resource
getResource
(String resourceName, int resourceType)
-
Constructor Details
-
ResourceFactory
public ResourceFactory()
-
-
Method Details
-
getResource
- Parameters:
resourceName
-resourceType
-- Returns:
- The resource described by name and type.
-