mailpuccino
Class MsgPartsCache
java.lang.Object
mailpuccino.Cache
mailpuccino.MsgPartsCache
- public class MsgPartsCache
- extends Cache
Constructor Summary |
MsgPartsCache(java.io.File IndexFile,
java.io.File DataFile)
|
Method Summary |
void |
compact()
|
java.lang.String |
get(java.lang.Object Key,
java.lang.String PartSpec)
|
void |
put(java.lang.Object Key,
java.lang.String PartSpec,
java.lang.String Value)
|
Methods inherited from class mailpuccino.Cache |
close, flush, get, getAsByteArray, getKeys, init, keepOnlyThese, put, readByteArray, readString, remove, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MsgPartsCache
public MsgPartsCache(java.io.File IndexFile,
java.io.File DataFile)
throws java.io.IOException
get
public java.lang.String get(java.lang.Object Key,
java.lang.String PartSpec)
throws java.io.IOException
- Throws:
java.io.IOException
put
public void put(java.lang.Object Key,
java.lang.String PartSpec,
java.lang.String Value)
throws java.io.IOException
- Throws:
java.io.IOException
compact
public void compact()
throws java.io.IOException
- Overrides:
compact
in class Cache
- Throws:
java.io.IOException