org.apache.cocoon.pipeline.caching
Class CompleteCacheValue

java.lang.Object
  extended by org.apache.cocoon.pipeline.caching.CompleteCacheValue
All Implemented Interfaces:
CacheValue

public class CompleteCacheValue
extends Object
implements CacheValue


Constructor Summary
CompleteCacheValue(byte[] content, CacheKey cacheKey)
           
 
Method Summary
 boolean isValid(CacheKey cacheKey)
          
 String toString()
           
 void writeTo(OutputStream outputStream)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CompleteCacheValue

public CompleteCacheValue(byte[] content,
                          CacheKey cacheKey)
Method Detail

isValid

public boolean isValid(CacheKey cacheKey)

Specified by:
isValid in interface CacheValue
See Also:
CacheValue.isValid(org.apache.cocoon.pipeline.caching.CacheKey)

writeTo

public void writeTo(OutputStream outputStream)
             throws IOException

Specified by:
writeTo in interface CacheValue
Throws:
IOException
See Also:
CacheValue.writeTo(java.io.OutputStream)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008 The Apache Software Foundation. All Rights Reserved.