Uses of Class
com.bc.ceres.resource.Resource
Packages that use Resource
-
Uses of Resource in com.bc.ceres.metadata
Methods in com.bc.ceres.metadata that return ResourceModifier and TypeMethodDescriptionMetadataResourceEngine.readResource
(String name, String path) Reads the resource with the given path and stores its content in the velocity context using the given key. -
Uses of Resource in com.bc.ceres.resource
Subclasses of Resource in com.bc.ceres.resourceModifier and TypeClassDescriptionclass
A [@link Resource} reading its content from a @{link File}.class
A [@link Resource} reading its content from a @{link Reader}.class
A [@link Resource} reading its content from a @{link String}.Methods in com.bc.ceres.resource that return ResourceModifier and TypeMethodDescriptionResource.getOrigin()
ResourceEngine.getResource
(String name) Retrieves a resource registered under the given name in theVelocityContext
.ResourceEngine.processAndAddResource
(String name, Resource resource) Evaluates the givenResource
using the currentVelocityContext
and adds the result of this processing to theVelocityContext
under given name.ResourceEngine.processResource
(Resource resource) Evaluates the givenResource
using the currentVelocityContext
and return the result.Methods in com.bc.ceres.resource with parameters of type ResourceModifier and TypeMethodDescriptionResourceEngine.processAndAddResource
(String name, Resource resource) Evaluates the givenResource
using the currentVelocityContext
and adds the result of this processing to theVelocityContext
under given name.ResourceEngine.processResource
(Resource resource) Evaluates the givenResource
using the currentVelocityContext
and return the result.Constructors in com.bc.ceres.resource with parameters of type ResourceModifierConstructorDescriptionFileResource
(String path, Resource origin) Creates aResource
object for the given path.StringResource
(String path, String stringContent, Resource origin)