You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



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