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.FilterFolder

java.lang.Object
   |
   +----javax.mail.Folder
           |
           +----grendel.storage.FolderBase
                   |
                   +----grendel.storage.FilterFolder

class  FilterFolder
     extends grendel.storage.FolderBase
{
          // Fields 6
     private String fName;
     private Message[] fOld;
     private Message[] fSearchResult;
     private boolean fSearchResultsDirty;
     private Folder fTargetFolder;
     private SearchTerm fTargetTerm;

          // Constructors 2
     FilterFolder(Folder, String, SearchTerm);
     FilterFolder(Folder, SearchTerm);

          // Methods 22
     public void appendMessages(Message[]) throws MessagingException;
     public void close(boolean);
     public boolean create(int);
     public boolean delete(boolean) throws MessagingException;
     public void deleteMessage(Message) throws MessagingException;
     public boolean exists();
     public Message[] expunge() throws MessagingException;
     public Folder getFolder(String) throws MessagingException;
     public String getFullName();
     public synchronized Message[] getMessages();
     public String getName();
     public Folder getParent();
     public char getSeparator();
     public int getType();
     public int getUndeletedMessageCount();
     public boolean hasNewMessages();
     public boolean isOpen();
     public Folder[] list(String);
     public void open(int);
     public boolean renameTo(Folder);
     private void resync();
     void setTarget(Folder, SearchTerm);
}



Fields


fName

   private String fName


fTargetFolder

   private Folder fTargetFolder


fTargetTerm

   private SearchTerm fTargetTerm


fSearchResult

   private Message[] fSearchResult


fOld

   private Message[] fOld


fSearchResultsDirty

   private boolean fSearchResultsDirty



Constructors


FilterFolder

   FilterFolder(Folder f, 
                String n, 
                SearchTerm term) 


FilterFolder

   FilterFolder(Folder f, 
                SearchTerm term) 



Methods


setTarget

   void setTarget(Folder f, 
                  SearchTerm t) 


getName

   public String getName() 
Overrides:
getName in class Folder


getFullName

   public String getFullName() 
Overrides:
getFullName in class Folder


getType

   public int getType() 
Overrides:
getType in class Folder


exists

   public boolean exists() 
Overrides:
exists in class Folder


renameTo

   public boolean renameTo(Folder f) 
Overrides:
renameTo in class Folder


resync

   private void resync() 


getMessages

   public synchronized Message[] getMessages() 
Overrides:
getMessages in class FolderBase


getParent

   public Folder getParent() 
Overrides:
getParent in class Folder


list

   public Folder[] list(String notused) 
Overrides:
list in class Folder


getSeparator

   public char getSeparator() 
Overrides:
getSeparator in class Folder


getFolder

   public Folder getFolder(String notused)  throws MessagingException
Overrides:
getFolder in class Folder


delete

   public boolean delete(boolean notused)  throws MessagingException
Overrides:
delete in class Folder


expunge

   public Message[] expunge()  throws MessagingException
Overrides:
expunge in class Folder


appendMessages

   public void appendMessages(Message[] notused)  throws MessagingException
Overrides:
appendMessages in class Folder


deleteMessage

   public void deleteMessage(Message m)  throws MessagingException


create

   public boolean create(int notused) 
Overrides:
create in class Folder


open

   public void open(int mode) 
Overrides:
open in class Folder


close

   public void close(boolean expunge) 
Overrides:
close in class Folder


isOpen

   public boolean isOpen() 
Overrides:
isOpen in class Folder


hasNewMessages

   public boolean hasNewMessages() 
Overrides:
hasNewMessages in class Folder


getUndeletedMessageCount

   public int getUndeletedMessageCount() 


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4