Uses of Class
org.apache.velocity.runtime.resource.Resource
Package
Description
-
Uses of Resource in org.apache.velocity
Modifier and TypeClassDescriptionclass
This class is used for controlling all template operations. -
Uses of Resource in org.apache.velocity.context
Modifier and TypeMethodDescriptionChainedInternalContextAdapter.getCurrentResource()
InternalContextAdapterImpl.getCurrentResource()
Modifier and TypeMethodDescriptionvoid
ChainedInternalContextAdapter.setCurrentResource
(Resource r) void
InternalContextAdapterImpl.setCurrentResource
(Resource r) -
Uses of Resource in org.apache.velocity.runtime.directive
Modifier and TypeMethodDescriptionprotected Resource
Include.getResource
(String path, String encoding) Find the resource to include -
Uses of Resource in org.apache.velocity.runtime.resource
Modifier and TypeClassDescriptionclass
This class represent a general text resource that may have been retrieved from any number of possible sources.Modifier and TypeFieldDescriptionResourceCacheImpl.cache
Cache storage, assumed to be thread-safe.Modifier and TypeMethodDescriptionprotected Resource
ResourceManagerImpl.createResource
(String resourceName, int resourceType) Create a new Resource of the specified type.retrieves a Resource from the cachestatic Resource
ResourceFactory.getResource
(String resourceName, int resourceType) ResourceManager.getResource
(String resourceName, int resourceType, String encoding) Gets the named resource.ResourceManagerImpl.getResource
(String resourceName, int resourceType, String encoding) Gets the named resource.protected Resource
ResourceManagerImpl.loadResource
(String resourceName, int resourceType, String encoding) Loads a resource from the current set of resource loaders.stores a Resource in the cacheprotected Resource
ResourceManagerImpl.refreshResource
(Resource resource, String encoding) Takes an existing resource, and 'refreshes' it.removes a Resource from the cacheModifier and TypeMethodDescriptionstores a Resource in the cacheprotected Resource
ResourceManagerImpl.refreshResource
(Resource resource, String encoding) Takes an existing resource, and 'refreshes' it. -
Uses of Resource in org.apache.velocity.runtime.resource.loader
Modifier and TypeMethodDescriptionlong
ClasspathResourceLoader.getLastModified
(Resource resource) long
DataSourceResourceLoader.getLastModified
(Resource resource) long
FileResourceLoader.getLastModified
(Resource resource) long
JarResourceLoader.getLastModified
(Resource resource) abstract long
ResourceLoader.getLastModified
(Resource resource) Get the last modified time of the InputStream source that was used to create the template.long
StringResourceLoader.getLastModified
(Resource resource) long
URLResourceLoader.getLastModified
(Resource resource) Checks to see when a resource was last modifiedboolean
ClasspathResourceLoader.isSourceModified
(Resource resource) boolean
DataSourceResourceLoader.isSourceModified
(Resource resource) boolean
FileResourceLoader.isSourceModified
(Resource resource) How to keep track of all the modified times across the paths.boolean
JarResourceLoader.isSourceModified
(Resource resource) abstract boolean
ResourceLoader.isSourceModified
(Resource resource) Given a template, check to see if the source of InputStream has been modified.boolean
StringResourceLoader.isSourceModified
(Resource resource) boolean
URLResourceLoader.isSourceModified
(Resource resource) Checks to see if a resource has been deleted, moved or modified. -
Uses of Resource in org.apache.velocity.spring
Modifier and TypeMethodDescriptionlong
SpringResourceLoader.getLastModified
(Resource resource) boolean
SpringResourceLoader.isSourceModified
(Resource resource)