|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.velocity.runtime.resource.Resource
org.apache.velocity.runtime.resource.ContentResource
public class ContentResource
This class represent a general text resource that may have been
retrieved from any number of possible sources.
Also of interest is Velocity's Template
Resource
.
Field Summary |
---|
Fields inherited from class org.apache.velocity.runtime.resource.Resource |
---|
data, encoding, lastModified, MILLIS_PER_SECOND, modificationCheckInterval, name, nextCheck, resourceLoader, rsvc, type |
Constructor Summary | |
---|---|
ContentResource()
Default empty constructor |
Method Summary | |
---|---|
boolean |
process()
Pull in static content and store it. |
Methods inherited from class org.apache.velocity.runtime.resource.Resource |
---|
getData, getEncoding, getLastModified, getName, getResourceLoader, getType, isSourceModified, requiresChecking, setData, setEncoding, setLastModified, setModificationCheckInterval, setName, setResourceLoader, setRuntimeServices, setType, touch |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContentResource()
Method Detail |
---|
public boolean process() throws ResourceNotFoundException
process
in class Resource
ResourceNotFoundException
- Resource could not be
found.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |