Uses of Class
org.apache.velocity.runtime.resource.Resource
-
-
Uses of Resource in org.apache.velocity
Subclasses of Resource in org.apache.velocity Modifier and Type Class Description classTemplateThis class is used for controlling all template operations. -
Uses of Resource in org.apache.velocity.context
Methods in org.apache.velocity.context that return Resource Modifier and Type Method Description ResourceChainedInternalContextAdapter. getCurrentResource()ResourceInternalContextAdapterImpl. getCurrentResource()Methods in org.apache.velocity.context with parameters of type Resource Modifier and Type Method Description voidChainedInternalContextAdapter. setCurrentResource(Resource r)voidInternalContextAdapterImpl. setCurrentResource(Resource r) -
Uses of Resource in org.apache.velocity.runtime.directive
Methods in org.apache.velocity.runtime.directive that return Resource Modifier and Type Method Description protected ResourceInclude. getResource(String path, String encoding)Find the resource to include -
Uses of Resource in org.apache.velocity.runtime.resource
Subclasses of Resource in org.apache.velocity.runtime.resource Modifier and Type Class Description classContentResourceThis class represent a general text resource that may have been retrieved from any number of possible sources.Fields in org.apache.velocity.runtime.resource with type parameters of type Resource Modifier and Type Field Description protected Map<Object,Resource>ResourceCacheImpl. cacheCache storage, assumed to be thread-safe.Methods in org.apache.velocity.runtime.resource that return Resource Modifier and Type Method Description protected ResourceResourceManagerImpl. createResource(String resourceName, int resourceType)Create a new Resource of the specified type.ResourceResourceCache. get(Object resourceKey)retrieves a Resource from the cacheResourceResourceCacheImpl. get(Object key)static ResourceResourceFactory. getResource(String resourceName, int resourceType)ResourceResourceManager. getResource(String resourceName, int resourceType, String encoding)Gets the named resource.ResourceResourceManagerImpl. getResource(String resourceName, int resourceType, String encoding)Gets the named resource.protected ResourceResourceManagerImpl. loadResource(String resourceName, int resourceType, String encoding)Loads a resource from the current set of resource loaders.ResourceResourceCache. put(Object resourceKey, Resource resource)stores a Resource in the cacheResourceResourceCacheImpl. put(Object key, Resource value)protected ResourceResourceManagerImpl. refreshResource(Resource resource, String encoding)Takes an existing resource, and 'refreshes' it.ResourceResourceCache. remove(Object resourceKey)removes a Resource from the cacheResourceResourceCacheImpl. remove(Object key)Methods in org.apache.velocity.runtime.resource with parameters of type Resource Modifier and Type Method Description ResourceResourceCache. put(Object resourceKey, Resource resource)stores a Resource in the cacheResourceResourceCacheImpl. put(Object key, Resource value)protected ResourceResourceManagerImpl. refreshResource(Resource resource, String encoding)Takes an existing resource, and 'refreshes' it. -
Uses of Resource in org.apache.velocity.runtime.resource.loader
Methods in org.apache.velocity.runtime.resource.loader with parameters of type Resource Modifier and Type Method Description longClasspathResourceLoader. getLastModified(Resource resource)longDataSourceResourceLoader. getLastModified(Resource resource)longFileResourceLoader. getLastModified(Resource resource)longJarResourceLoader. getLastModified(Resource resource)abstract longResourceLoader. getLastModified(Resource resource)Get the last modified time of the InputStream source that was used to create the template.longStringResourceLoader. getLastModified(Resource resource)longURLResourceLoader. getLastModified(Resource resource)Checks to see when a resource was last modifiedbooleanClasspathResourceLoader. isSourceModified(Resource resource)booleanDataSourceResourceLoader. isSourceModified(Resource resource)booleanFileResourceLoader. isSourceModified(Resource resource)How to keep track of all the modified times across the paths.booleanJarResourceLoader. isSourceModified(Resource resource)abstract booleanResourceLoader. isSourceModified(Resource resource)Given a template, check to see if the source of InputStream has been modified.booleanStringResourceLoader. isSourceModified(Resource resource)booleanURLResourceLoader. isSourceModified(Resource resource)Checks to see if a resource has been deleted, moved or modified. -
Uses of Resource in org.apache.velocity.spring
Methods in org.apache.velocity.spring with parameters of type Resource Modifier and Type Method Description longSpringResourceLoader. getLastModified(Resource resource)booleanSpringResourceLoader. isSourceModified(Resource resource)
-