All Packages This Package Class Hierarchy Class Search Index
Class grendel.storage.MailSummaryFileCheddar
java.lang.Object | +----grendel.storage.MailSummaryFile | +----grendel.storage.MailSummaryFileCheddar
This class knows how to read a Netscape 2.0 / 3.0 mail summary file. It does not know how to write them, because our new internal representation of messages doesn't keep around enough information to regenerate the file compatibly (doing so would consume a lot more memory.)
class MailSummaryFileCheddar extends grendel.storage.MailSummaryFile { // Constructors 1 MailSummaryFileCheddar(BerkeleyFolder); // Methods 3 protected synchronized void getMessageCounts(); synchronized long readSummaryFile(InputStream) throws IOException; protected void salvageMessage(BerkeleyMessage, Object); }
Constructors
MailSummaryFileCheddar
MailSummaryFileCheddar(BerkeleyFolder folder)
Methods
readSummaryFile
synchronized long readSummaryFile(InputStream sum) throws IOException
- Overrides:
- readSummaryFile in class MailSummaryFile
salvageMessage
protected void salvageMessage(BerkeleyMessage m, Object salvage_object)
Assumes the salvage table contains Long values which are flags in X-Mozilla-Status form.
- Overrides:
- salvageMessage in class MailSummaryFile
getMessageCounts
protected synchronized void getMessageCounts()
Read only enough of the file to fill in the values of total_message_count, undeleted_message_count, unread_message_count, and deleted_message_bytes.
- Overrides:
- getMessageCounts in class MailSummaryFile
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4