Uses of Class org.apache.velocity.runtime.resource.Resource (Velocity 1.4 API)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

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

Packages that use Resource
org.apache.velocity |
org.apache.velocity.context |
org.apache.velocity.runtime.resource |
org.apache.velocity.runtime.resource.loader |

Uses of Resource in org.apache.velocity

Subclasses of Resource in org.apache.velocity
`class` | `Template` This class is used for controlling all template operations.

Uses of Resource in org.apache.velocity.context

Fields in org.apache.velocity.context declared as Resource
`private Resource` | `InternalContextBase.currentResource` Current resource - used for carrying encoding and other information down into the rendering process

Methods in org.apache.velocity.context that return Resource
`Resource` | `VMContext.getCurrentResource()`
`Resource` | `InternalHousekeepingContext.getCurrentResource()` temporary fix to enable #include() to figure out current encoding.
`Resource` | `InternalContextBase.getCurrentResource()`
`Resource` | `InternalContextAdapterImpl.getCurrentResource()`

Methods in org.apache.velocity.context with parameters of type Resource
`void` | `VMContext.setCurrentResource(Resource r)`
`void` | `InternalHousekeepingContext.setCurrentResource(Resource r)`
`void` | `InternalContextBase.setCurrentResource(Resource r)`
`void` | `InternalContextAdapterImpl.setCurrentResource(Resource r)`

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

Subclasses of Resource in org.apache.velocity.runtime.resource
`class` | `ContentResource` This class represent a general text resource that may have been retrieved from any number of possible sources.

Methods in org.apache.velocity.runtime.resource that return Resource
`Resource` | `ResourceManagerImpl.getResource(java.lang.String resourceName, int resourceType, java.lang.String encoding)` Gets the named resource.
`protected Resource` | `ResourceManagerImpl.loadResource(java.lang.String resourceName, int resourceType, java.lang.String encoding)` Loads a resource from the current set of resource loaders
`Resource` | `ResourceManagerImpl.getResource(java.lang.String resourceName, int resourceType)` Deprecated. Use `ResourceManagerImpl.getResource(String resourceName, int resourceType, String encoding )`
`Resource` | `ResourceManager.getResource(java.lang.String resourceName, int resourceType, java.lang.String encoding)` Gets the named resource.
`static Resource` | `ResourceFactory.getResource(java.lang.String resourceName, int resourceType)`
`Resource` | `ResourceCacheImpl.get(java.lang.Object key)`
`Resource` | `ResourceCacheImpl.put(java.lang.Object key, Resource value)`
`Resource` | `ResourceCacheImpl.remove(java.lang.Object key)`
`Resource` | `ResourceCache.get(java.lang.Object resourceKey)` retrieves a Resource from the cache
`Resource` | `ResourceCache.put(java.lang.Object resourceKey, Resource resource)` stores a Resource in the cache
`Resource` | `ResourceCache.remove(java.lang.Object resourceKey)` removes a Resource from the cache

Methods in org.apache.velocity.runtime.resource with parameters of type Resource
`protected void` | `ResourceManagerImpl.refreshResource(Resource resource, java.lang.String encoding)` Takes an existing resource, and 'refreshes' it.
`Resource` | `ResourceCacheImpl.put(java.lang.Object key, Resource value)`
`Resource` | `ResourceCache.put(java.lang.Object resourceKey, Resource resource)` stores a Resource in the cache

Uses of Resource in org.apache.velocity.runtime.resource.loader

Methods in org.apache.velocity.runtime.resource.loader with parameters of type Resource
`abstract boolean` | `ResourceLoader.isSourceModified(Resource resource)` Given a template, check to see if the source of InputStream has been modified.
`abstract long` | `ResourceLoader.getLastModified(Resource resource)` Get the last modified time of the InputStream source that was used to create the template.
`boolean` | `JarResourceLoader.isSourceModified(Resource resource)`
`long` | `JarResourceLoader.getLastModified(Resource resource)`
`boolean` | `FileResourceLoader.isSourceModified(Resource resource)` How to keep track of all the modified times across the paths.
`long` | `FileResourceLoader.getLastModified(Resource resource)`
`boolean` | `DataSourceResourceLoader.isSourceModified(Resource resource)`
`long` | `DataSourceResourceLoader.getLastModified(Resource resource)`
`private long` | `DataSourceResourceLoader.readLastModified(Resource resource, java.lang.String i_operation)` Fetches the last modification time of the resource
`boolean` | `ClasspathResourceLoader.isSourceModified(Resource resource)` Defaults to return false.
`long` | `ClasspathResourceLoader.getLastModified(Resource resource)` Defaults to return 0

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2002 Apache Software Foundation. All Rights Reserved.