|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.transformation.helpers.ModifiableSourceIncludeCacheStorageProxy
public final class ModifiableSourceIncludeCacheStorageProxy
This is the interface between the IncludeCacheManager
and a
Source
object that stores the cached content in a directory
manner.
Constructor Summary | |
---|---|
ModifiableSourceIncludeCacheStorageProxy(SourceResolver resolver,
String parentURI,
Logger logger)
Constructor |
Method Summary | |
---|---|
boolean |
equals(Object object)
Compare |
Serializable |
get(String uri)
Get the cached content for the given URI. |
int |
hashCode()
Generate a hash code |
void |
put(String uri,
Serializable object)
Put the content into the cache for the given URI. |
void |
remove(String uri)
Remove the cached content for the given URI |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ModifiableSourceIncludeCacheStorageProxy(SourceResolver resolver, String parentURI, Logger logger)
resolver
- For source resolvingparentURI
- The "directory"logger
- A logger for debuggingMethod Detail |
---|
public Serializable get(String uri)
IncludeCacheStorageProxy
get
in interface IncludeCacheStorageProxy
uri
- Absolute URI specifying the content
IncludeCacheStorageProxy.get(java.lang.String)
public void put(String uri, Serializable object) throws IOException
IncludeCacheStorageProxy
put
in interface IncludeCacheStorageProxy
uri
- Absolute URI specifying the contentobject
- The content
IOException
IncludeCacheStorageProxy.put(java.lang.String, java.io.Serializable)
public void remove(String uri)
IncludeCacheStorageProxy
remove
in interface IncludeCacheStorageProxy
uri
- Absolute URI specifying the contentIncludeCacheStorageProxy.remove(java.lang.String)
public boolean equals(Object object)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |