Uses of Class org.apache.velocity.runtime.resource.Resource

Uses in package org.apache.velocity.context

Fields of type org.apache.velocity.runtime.resource.Resource

Resource
Current resource - used for carrying encoding and other information down into the rendering process

Methods with parameter type org.apache.velocity.runtime.resource.Resource

void
void
void
void

Methods with return type org.apache.velocity.runtime.resource.Resource

Resource
temporary fix to enable #include() to figure out current encoding.
Resource
temporary fix to enable #include() to figure out current encoding.
Resource
temporary fix to enable #include() to figure out current encoding.
Resource
temporary fix to enable #include() to figure out current encoding.

Uses in package org.apache.velocity.runtime.resource

Classes derived from org.apache.velocity.runtime.resource.Resource

class
This class represent a general text resource that may have been retrieved from any number of possible sources.

Methods with parameter type org.apache.velocity.runtime.resource.Resource

Resource
ResourceCache.put(Object resourceKey, Resource resource)
stores a Resource in the cache
Resource
ResourceCacheImpl.put(Object key, Resource value)
void
ResourceManagerImpl.refreshResource(Resource resource, String encoding)
Takes an existing resource, and 'refreshes' it.

Methods with return type org.apache.velocity.runtime.resource.Resource

Resource
ResourceCache.get(Object resourceKey)
retrieves a Resource from the cache
Resource
ResourceCacheImpl.get(Object key)
Resource
ResourceFactory.getResource(String resourceName, int resourceType)
Resource
ResourceManagerImpl.getResource(String resourceName, int resourceType)
Gets the named resource.
Resource
ResourceManager.getResource(String resourceName, int resourceType, String encoding)
Gets the named resource.
Resource
ResourceManagerImpl.getResource(String resourceName, int resourceType, String encoding)
Gets the named resource.
Resource
ResourceManagerImpl.loadResource(String resourceName, int resourceType, String encoding)
Loads a resource from the current set of resource loaders
Resource
ResourceCache.put(Object resourceKey, Resource resource)
stores a Resource in the cache
Resource
ResourceCacheImpl.put(Object key, Resource value)
Resource
ResourceCache.remove(Object resourceKey)
removes a Resource from the cache
Resource

Uses in package org.apache.velocity.runtime.resource.loader

Methods with parameter type org.apache.velocity.runtime.resource.Resource

long
Defaults to return 0
long
long
Get the last modified time of the InputStream source that was used to create the template.
long
long
Get the last modified time of the InputStream source that was used to create the template.
boolean
Defaults to return false.
boolean
boolean
How to keep track of all the modified times across the paths.
boolean
boolean
Given a template, check to see if the source of InputStream has been modified.
long
DataSourceResourceLoader.readLastModified(Resource resource, String i_operation)
Fetches the last modification time of the resource

Uses in package org.apache.velocity

Classes derived from org.apache.velocity.runtime.resource.Resource

class
This class is used for controlling all template operations.

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