|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.w3c.www.protocol.http.cache.CacheSerializer
|
+--org.w3c.www.protocol.http.cache.SimpleCacheSerializer
| Field Summary | |
protected XMLSerializer |
serializer
|
| Constructor Summary | |
SimpleCacheSerializer()
|
|
| Method Summary | |
AttributeHolder |
read(java.io.Reader reader)
Read an Attribute Holder |
CacheGeneration |
readDescription(CacheGeneration generation,
java.io.Reader reader)
Read a Generation containing only CachedResourceDescription, using a specified reader. |
CacheGeneration |
readGeneration(CacheGeneration generation,
java.io.Reader reader)
Read a Generation, using a specified reader |
void |
write(AttributeHolder holder,
java.io.Writer writer)
Save an Attribute Holder |
void |
writeGeneration(CacheGeneration generation,
java.io.Writer writer)
Save a Generation, using a specified writer |
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 |
| Field Detail |
protected XMLSerializer serializer
| Constructor Detail |
public SimpleCacheSerializer()
| Method Detail |
public void writeGeneration(CacheGeneration generation,
java.io.Writer writer)
throws java.io.IOException
writeGeneration in class CacheSerializerjava.io.IOException
public void writeGenerationList(CacheStore store)
throws java.io.IOException
writeGenerationList in class CacheSerializerjava.io.IOException
public CacheGeneration readGeneration(CacheGeneration generation,
java.io.Reader reader)
throws java.io.IOException
readGeneration in class CacheSerializerjava.io.IOException
public CacheGeneration readDescription(CacheGeneration generation,
java.io.Reader reader)
throws java.io.IOException
readDescription in class CacheSerializerjava.io.IOException
public void write(AttributeHolder holder,
java.io.Writer writer)
throws java.io.IOException
write in class CacheSerializerjava.io.IOException
public AttributeHolder read(java.io.Reader reader)
throws java.io.IOException
read in class CacheSerializerjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||