org.apache.velocity.runtime.resource

Class ContentResource


public class ContentResource
extends Resource

This class represent a general text resource that may have been retrieved from any number of possible sources.

Version:
$Id: ContentResource.java,v 1.6 2001/10/22 03:53:25 jon Exp $

Authors:
Jason van Zyl
Geir Magnusson Jr.

Field Summary

Fields inherited from class org.apache.velocity.runtime.resource.Resource

MILLIS_PER_SECOND, data, encoding, lastModified, modificationCheckInterval, name, nextCheck, resourceLoader, rsvc

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, isSourceModified, process, requiresChecking, setData, setEncoding, setLastModified, setModificationCheckInterval, setName, setResourceLoader, setRuntimeServices, touch

Constructor Details

ContentResource

public ContentResource()
Default empty constructor

Method Details

process

public boolean process()
Pull in static content and store it
Overrides:
process in interface Resource


Copyright © 2003 Apache Software Foundation. All Rights Reserved.