| java.lang.Object org.w3c.www.protocol.http.cache.CacheSerializer org.w3c.www.protocol.http.cache.SimpleCacheSerializer
SimpleCacheSerializer | public class SimpleCacheSerializer extends CacheSerializer (Code) | | version: $Revision: 1.7 $ author: Benoît Mahé (bmahe@w3.org) |
SimpleCacheSerializer | public SimpleCacheSerializer()(Code) | | |
readDescription | public CacheGeneration readDescription(CacheGeneration generation, Reader reader) throws IOException(Code) | | Read a Generation containing only CachedResourceDescription,
using a specified reader.
generation, a CacheGeneration, the generation to be 'loaded' reader, the Reader used to read this generation |
readGeneration | public CacheGeneration readGeneration(CacheGeneration generation, Reader reader) throws IOException(Code) | | Read a Generation, using a specified reader
generation, a CacheGeneration, the generation to be loaded (or updated) reader, the Reader used to read this generation |
write | public void write(AttributeHolder holder, Writer writer) throws IOException(Code) | | Save an Attribute Holder
holder, the attribute holder writer, a Writer, the writer used to serialize this generation |
writeGeneration | public void writeGeneration(CacheGeneration generation, Writer writer) throws IOException(Code) | | Save a Generation, using a specified writer
generation, a CacheGeneration, the generation to be saved writer, a Writer, the writer used to serialize this generation |
writeGenerationList | public void writeGenerationList(CacheStore store) throws IOException(Code) | | Save the list of generations (except the 'description' Generation)
store, the Store to be dumped Parameters: writer - a Writer, used to dump |
|
|