The Mozilla
Organization
Our Mission
Who We Are
Getting Involved
Community
Editorials
What's New
Development
Roadmap
Module Owners
Blue Sky
Projects
Status
Tools
Products
Source Code
Binaries
Documentation
License Terms
Bug Reports
Search
Feedback


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 The Mozilla Organization.