|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.w3c.www.protocol.http.cache.CacheSerializer
public abstract class CacheSerializer
| Constructor Summary | |
|---|---|
CacheSerializer()
|
|
| Method Summary | |
|---|---|
abstract AttributeHolder |
read(java.io.Reader reader)
Read an Attribute Holder |
abstract CacheGeneration |
readDescription(CacheGeneration generation,
java.io.Reader reader)
Read a Generation containing only CachedResourceDescription, using a specified reader. |
abstract CacheGeneration |
readGeneration(CacheGeneration generation,
java.io.Reader reader)
Read a Generation, using a specified reader |
abstract void |
write(AttributeHolder holder,
java.io.Writer writer)
Save an Attribute Holder |
abstract void |
writeGeneration(CacheGeneration generation,
java.io.Writer writer)
Save a Generation, using a specified writer |
abstract void |
writeGenerationList(CacheStore store)
Save the list of generations (except the 'description' Generation) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CacheSerializer()
| Method Detail |
|---|
public abstract void writeGeneration(CacheGeneration generation,
java.io.Writer writer)
throws java.io.IOException
generation, - a CacheGeneration, the generation to be savedwriter, - a Writer, the writer used to serialize this generation
java.io.IOException
public abstract void writeGenerationList(CacheStore store)
throws java.io.IOException
store, - the Store to be dumpedwriter - a Writer, used to dump
java.io.IOException
public abstract CacheGeneration readGeneration(CacheGeneration generation,
java.io.Reader reader)
throws java.io.IOException
generation, - a CacheGeneration, the generation to be savedreader, - the Reader used to read this generation
java.io.IOException
public abstract CacheGeneration readDescription(CacheGeneration generation,
java.io.Reader reader)
throws java.io.IOException
generation, - a CacheGeneration, the generation to be 'loaded'reader, - the Reader used to read this generation
java.io.IOException
public abstract void write(AttributeHolder holder,
java.io.Writer writer)
throws java.io.IOException
holder, - the attribute holderwriter, - a Writer, the writer used to serialize this generation
java.io.IOException
public abstract AttributeHolder read(java.io.Reader reader)
throws java.io.IOException
holder, - the attribute holderreader, - a Reader, the reader used to read the holder
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||