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.ParseBerkeleyFolderAndExpunge
All Packages  This Package  Class Hierarchy  Class Search  Index

Class grendel.storage.ParseBerkeleyFolderAndExpunge

java.lang.Object
   |
   +----grendel.storage.ParseBerkeleyFolder
           |
           +----grendel.storage.ParseBerkeleyFolderAndExpunge

class  ParseBerkeleyFolderAndExpunge
     extends grendel.storage.ParseBerkeleyFolder
{
          // Fields 8
     private static final boolean DEBUG;
     protected byte[] blank_mozilla_status;
     protected ByteBuf bytebuf;
     protected byte[] bytes;
     protected RandomAccessFile in;
     protected byte[] linebreak;
     Enumeration msgs;
     protected RandomAccessFile out;

          // Constructors 1
     public ParseBerkeleyFolderAndExpunge();

          // Methods 3
     private void copyBytes(int, boolean) throws IOException;
     synchronized void expungeDeletedMessages(BerkeleyFolder, RandomAccessFile, RandomAccessFile, Enumeration) throws IOException;
     void recordOne(int, int, int, int, InternetHeaders) throws IOException;
}



Fields


DEBUG

   private static final boolean DEBUG


in

   protected RandomAccessFile in


out

   protected RandomAccessFile out


bytes

   protected byte[] bytes


bytebuf

   protected ByteBuf bytebuf


blank_mozilla_status

   protected byte[] blank_mozilla_status


linebreak

   protected byte[] linebreak


msgs

   Enumeration msgs



Constructors


ParseBerkeleyFolderAndExpunge

   public ParseBerkeleyFolderAndExpunge() 

Default constructor




Methods


expungeDeletedMessages

   synchronized void expungeDeletedMessages(BerkeleyFolder f, 
                                            RandomAccessFile in, 
                                            RandomAccessFile out, 
                                            Enumeration old_msgs)  throws IOException


recordOne

   void recordOne(int envelope_start, 
                  int message_start, 
                  int headers_end, 
                  int message_end, 
                  InternetHeaders headers)  throws IOException
Overrides:
recordOne in class ParseBerkeleyFolder


copyBytes

   private void copyBytes(int n, 
                          boolean blank_line)  throws IOException

Copy N bytes from `in' to `out'. If `blank_line' is true, and the data copied didn't end with a linebreak, insert a linebreak.



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.