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. Also of interest is Velocity's Template Resource.

Version: $Id: ContentResource.java,v 1.10.4.1 2004/03/03 23:23:01 geirm Exp $

Author: Jason van Zyl Geir Magnusson Jr.

Constructor Summary
ContentResource()
Default empty constructor
Method Summary
booleanprocess()
Pull in static content and store it.

Constructor Detail

ContentResource

public ContentResource()
Default empty constructor

Method Detail

process

public boolean process()
Pull in static content and store it.

Throws: ResourceNotFoundException Resource could not be found.

Copyright B) 2002 Apache Software Foundation. All Rights Reserved.