| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.jetspeed.services.webpage.CachedResource
A cached resource object, stored in memory to optimize access to static resources such as images and style sheets.
| Constructor Summary | |
| CachedResource(int contentType,
               byte[] content)Constructor for a cached resource. | |
| Method Summary | |
|  byte[] | getContent()Gets the content of this resource in a byte array. | 
|  int | getContentType()Accessor to get the content type for this resource as defined in WebPageHelper | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public CachedResource(int contentType,
                      byte[] content)
contentType - The HTTP content type for a cached resource as defined 
        in WebPageHelper, i.e. WebPageHelper.CT_HTML, WebPageHelper.CT_IMAGE....content - The byte array of content this cached. This content can be
         binary images, or static text such as scripts and style sheets.| Method Detail | 
public byte[] getContent()
public int getContentType()
| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||