Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.velocity.runtime.resource
Class ContentResource

    java.lang.Object
      |
      +--org.apache.velocity.runtime.resource.Resource
            |
            +--org.apache.velocity.runtime.resource.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 $
Author:
  Jason van Zyl, Geir Magnusson Jr.

Fields inherited from class org.apache.velocity.runtime.resource.Resource
`data, encoding, lastModified, MILLIS_PER_SECOND, 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, requiresChecking, setData, setEncoding, setLastModified, setModificationCheckInterval, setName, setResourceLoader, setRuntimeServices, touch`

Methods inherited from class java.lang.Object
`, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait`

Constructor Detail

### ContentResource

    public ContentResource()

  Default empty constructor

Method Detail

### process

    public boolean process()

  Pull in static content and store it
  Overrides:
    `process` in class `Resource`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003 Apache Software Foundation. All Rights Reserved.