luxor.http.loader
Class CacheResourceLoader

java.lang.Object
  |
  +--luxor.http.loader.CacheResourceLoader
All Implemented Interfaces:
WebResourceLoader

public class CacheResourceLoader
extends java.lang.Object
implements WebResourceLoader


Constructor Summary
CacheResourceLoader()
           
 
Method Summary
 void add(java.lang.String name, java.lang.String html)
          convenience method for html
 void add(java.lang.String name, java.lang.String text, java.lang.String contentType)
           
 void add(WebResource newRes)
           
 java.util.HashMap getCache()
           
 WebResource getResource(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheResourceLoader

public CacheResourceLoader()
Method Detail

getCache

public java.util.HashMap getCache()

getResource

public WebResource getResource(java.lang.String name)
Specified by:
getResource in interface WebResourceLoader

add

public void add(java.lang.String name,
                java.lang.String text,
                java.lang.String contentType)

add

public void add(java.lang.String name,
                java.lang.String html)
convenience method for html


add

public void add(WebResource newRes)


Copyright 2001, 2002 Gerald Bauer. All Rights Reserved. Hosted by SourceForge Logo