All Packages  This Package  Class Hierarchy  Class Search  Index

Class kh.majorcoffee.MessageDB
java.lang.Object
   |
   +----kh.majorcoffee.MessageDB

  Summary

public class  MessageDB
     extends java.lang.Object
     implements java.io.Serializable
{
          // Constructors 1
     public MessageDB(File) throws IOException;

          // Methods 3
     public static MessageDB load(File) throws IOException;

     public void addMessages(CountingInputStream) throws IOException;
     public void save(File) throws IOException;
}


  Cross Reference

Returned By:
MessageDB.load()





  Constructors

· MessageDB

Summary  |  Top
   public MessageDB(File mailbox)  throws IOException

Given an existing mailbox file - create a new database object. Normally this object should then be saved.



  Methods

· addMessages

Summary  |  Top
   public void addMessages(CountingInputStream source)  throws IOException


· load

Summary  |  Top
   public static MessageDB load(File source)  throws IOException

Given an existing DB file - load the file from disk



· save

Summary  |  Top
   public void save(File dest)  throws IOException

Save the DB to disk



All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7