ResourceFactory (Velocity 1.7 API)
Keywords: org.apache.velocity.runtime.resource.ResourceFactory class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.