org.apache.velocity.runtime.resource
public class ContentResource extends Resource
Template
Resource
.data, encoding, lastModified, MILLIS_PER_SECOND, modificationCheckInterval, name, nextCheck, resourceLoader, rsvc
Constructor and Description |
---|
ContentResource()
Default empty constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
process()
Pull in static content and store it.
|
getData, getEncoding, getLastModified, getName, getResourceLoader, isSourceModified, requiresChecking, setData, setEncoding, setLastModified, setModificationCheckInterval, setName, setResourceLoader, setRuntimeServices, touch
public boolean process() throws ResourceNotFoundException
process
in class Resource
Template
or ContentResource
, this
indicates whether the resource could be read.ResourceNotFoundException
- Resource could not be
found.Copyright ? 2002 Apache Software Foundation. All Rights Reserved.