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
private static final boolean DEBUG
protected RandomAccessFile in
protected RandomAccessFile out
protected byte[] bytes
protected ByteBuf bytebuf
protected byte[] blank_mozilla_status
protected byte[] linebreak
Enumeration msgs
Constructors
public ParseBerkeleyFolderAndExpunge()
Default constructor
Methods
synchronized void expungeDeletedMessages(BerkeleyFolder f,
RandomAccessFile in,
RandomAccessFile out,
Enumeration old_msgs) throws IOException
void recordOne(int envelope_start,
int message_start,
int headers_end,
int message_end,
InternetHeaders headers) throws IOException
- Overrides:
- recordOne in class ParseBerkeleyFolder
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
|