![]() |
All Packages This Package Class Hierarchy Class Search Index Class grendel.storage.MailSummaryFilejava.lang.Object | +----grendel.storage.MailSummaryFile
abstract class MailSummaryFile
extends java.lang.Object
{
// Fields 9
protected long deleted_message_bytes;
protected File file;
protected long file_date;
protected long file_size;
protected BerkeleyFolder folder;
protected Hashtable salvage;
protected int total_message_count;
protected int undeleted_message_count;
protected int unread_message_count;
// Constructors 1
MailSummaryFile(BerkeleyFolder);
// Methods 25
protected boolean checkFolderDate(long);
protected boolean checkFolderSize(long);
long deletedMessageBytes();
long folderDate();
long folderSize();
protected abstract void getMessageCounts();
abstract long readSummaryFile(InputStream) throws IOException;
protected synchronized long readUnsignedInteger(InputStream) throws IOException;
protected synchronized long readUnsignedInteger(RandomAccessFile) throws IOException;
protected synchronized int readUnsignedShort(InputStream) throws IOException;
protected synchronized int readUnsignedShort(RandomAccessFile) throws IOException;
protected void salvageMessage(BerkeleyMessage, Object);
void salvageMessages();
void setFolderDateAndSize(long, long);
void setFolderMessageCounts(int, int, int, long);
int totalMessageCount();
int undeletedMessageCount();
int unreadMessageCount();
void updateSummaryFile() throws IOException;
boolean writable();
void writeSummaryFile() throws IOException;
protected synchronized void writeUnsignedInteger(OutputStream, long) throws IOException;
protected synchronized void writeUnsignedInteger(RandomAccessFile, long) throws IOException;
protected synchronized void writeUnsignedShort(OutputStream, int) throws IOException;
protected synchronized void writeUnsignedShort(RandomAccessFile, int) throws IOException;
}
Fields folderprotected BerkeleyFolder folder
fileprotected File file file_dateprotected long file_date file_sizeprotected long file_size total_message_countprotected int total_message_count undeleted_message_countprotected int undeleted_message_count unread_message_countprotected int unread_message_count deleted_message_bytesprotected long deleted_message_bytes salvageprotected Hashtable salvage
Constructors MailSummaryFileMailSummaryFile(BerkeleyFolder f) Methods readSummaryFileabstract long readSummaryFile(InputStream sum) throws IOException
writableboolean writable()
writeSummaryFilevoid writeSummaryFile() throws IOException
folderDatelong folderDate()
folderSizelong folderSize()
totalMessageCountint totalMessageCount()
undeletedMessageCountint undeletedMessageCount()
unreadMessageCountint unreadMessageCount()
deletedMessageByteslong deletedMessageBytes()
getMessageCountsprotected abstract void getMessageCounts()
setFolderDateAndSize
void setFolderDateAndSize(long file_date,
long file_size)
setFolderMessageCounts
void setFolderMessageCounts(int total_count,
int undeleted_count,
int unread_count,
long deleted_bytes)
updateSummaryFilevoid updateSummaryFile() throws IOException
checkFolderDateprotected boolean checkFolderDate(long summary_date)
checkFolderSizeprotected boolean checkFolderSize(long summary_size)
salvageMessagesvoid salvageMessages()
salvageMessageprotected void salvageMessage(BerkeleyMessage m, Object salvage_object) readUnsignedShortprotected synchronized int readUnsignedShort(InputStream s) throws IOException readUnsignedIntegerprotected synchronized long readUnsignedInteger(InputStream s) throws IOException writeUnsignedShortprotected synchronized void writeUnsignedShort(OutputStream s, int i) throws IOException writeUnsignedIntegerprotected synchronized void writeUnsignedInteger(OutputStream s, long i) throws IOException readUnsignedShortprotected synchronized int readUnsignedShort(RandomAccessFile s) throws IOException readUnsignedIntegerprotected synchronized long readUnsignedInteger(RandomAccessFile s) throws IOException writeUnsignedShortprotected synchronized void writeUnsignedShort(RandomAccessFile s, int i) throws IOException writeUnsignedIntegerprotected synchronized void writeUnsignedInteger(RandomAccessFile s, long i) throws IOException All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4 |
|||||||||||
|
Copyright © 1998-1999 The Mozilla Organization.
Last modified December 25, 1998. |
|||||||||||