mailpuccino
Class MsgPartsCache

java.lang.Object
  extended bymailpuccino.Cache
      extended bymailpuccino.MsgPartsCache

public class MsgPartsCache
extends Cache


Field Summary
 
Fields inherited from class mailpuccino.Cache
Data, DataFile, IndexFile, KeyValues
 
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
 

Constructor Detail

MsgPartsCache

public MsgPartsCache(java.io.File IndexFile,
                     java.io.File DataFile)
              throws java.io.IOException
Method Detail

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