Uses of Class
com.bc.ceres.resource.Resource
-
Packages that use Resource Package Description com.bc.ceres.metadata com.bc.ceres.resource -
-
Uses of Resource in com.bc.ceres.metadata
Methods in com.bc.ceres.metadata that return Resource Modifier and Type Method Description Resource
MetadataResourceEngine. 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.resource Modifier and Type Class Description class
FileResource
A [@link Resource} reading its content from a @{link File}.class
ReaderResource
A [@link Resource} reading its content from a @{link Reader}.class
StringResource
A [@link Resource} reading its content from a @{link String}.Methods in com.bc.ceres.resource that return Resource Modifier and Type Method Description Resource
Resource. getOrigin()
Resource
ResourceEngine. getResource(String name)
Retrieves a resource registered under the given name in theVelocityContext
.Resource
ResourceEngine. processAndAddResource(String name, Resource resource)
Evaluates the givenResource
using the currentVelocityContext
and adds the result of this processing to theVelocityContext
under given name.Resource
ResourceEngine. processResource(Resource resource)
Evaluates the givenResource
using the currentVelocityContext
and return the result.Methods in com.bc.ceres.resource with parameters of type Resource Modifier and Type Method Description Resource
ResourceEngine. processAndAddResource(String name, Resource resource)
Evaluates the givenResource
using the currentVelocityContext
and adds the result of this processing to theVelocityContext
under given name.Resource
ResourceEngine. processResource(Resource resource)
Evaluates the givenResource
using the currentVelocityContext
and return the result.Constructors in com.bc.ceres.resource with parameters of type Resource Constructor Description FileResource(String path, Resource origin)
Resource(String path, Resource origin)
Creates aResource
object for the given path.StringResource(String path, String stringContent, Resource origin)
-