The Mozilla
Organization
At A Glance
Feedback
Get Involved
Newsgroups
License Terms
Newsbot
Developer Docs
Roadmap
Projects
Ports
Module Owners
Hacking
Get the Source
Build It
Testing
Download
Bugzilla
Bug Writing
Tools
View Source
Tree Status
New Checkins
Submit A Bug
FAQ
Search
Class grendel.storage.MailSummaryFileFactory
All Packages  This Package  Class Hierarchy  Class Search  Index

Class grendel.storage.MailSummaryFileFactory

java.lang.Object
   |
   +----grendel.storage.MailSummaryFileFactory

class  MailSummaryFileFactory
     extends java.lang.Object
{
          // Fields 5
     static final int[] NEOACCESS_MAGIC_NUMBER;
     static final byte[] SUMMARY_MAGIC_NUMBER;
     static final int VERSION_CHEDDAR;
     static final int VERSION_DOGBERT;
     static final int VERSION_GRENDEL;

          // Constructors 1
     private MailSummaryFileFactory();

          // Methods 1
     static MailSummaryFile ParseFileHeader(BerkeleyFolder, InputStream);
}



Fields


SUMMARY_MAGIC_NUMBER

   static final byte[] SUMMARY_MAGIC_NUMBER


NEOACCESS_MAGIC_NUMBER

   static final int[] NEOACCESS_MAGIC_NUMBER


VERSION_CHEDDAR

   static final int VERSION_CHEDDAR


VERSION_DOGBERT

   static final int VERSION_DOGBERT


VERSION_GRENDEL

   static final int VERSION_GRENDEL



Constructors


MailSummaryFileFactory

   private MailSummaryFileFactory() 



Methods


ParseFileHeader

   static MailSummaryFile ParseFileHeader(BerkeleyFolder folder, 
                                          InputStream summary_stream) 

Given a folder and a file stream to that folder's summary file, this static method parses the header of that file, and returns an appropriate MailSummaryFile object (or null if the file is not one we recognise.)

To parse the body of the summary file, use the readSummaryFile() on the returned MailSummaryFile object.

See Also: MailSummaryFile, MailSummaryFileCheddar, MailSummaryFileGrendel



All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4
Copyright © 1998-2000 The Mozilla Organization.
Last modified December 25, 1998.