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()
getFullName
public String getFullName()
- Overrides:
- getFullName in class Folder
getType
public int getType()
exists
public boolean exists()
renameTo
public boolean renameTo(Folder f)
resync
private void resync()
getMessages
public synchronized Message[] getMessages()
- Overrides:
- getMessages in class FolderBase
getParent
public Folder getParent()
list
public Folder[] list(String notused)
getSeparator
public char getSeparator()
- Overrides:
- getSeparator in class Folder
getFolder
public Folder getFolder(String notused) throws MessagingException
delete
public boolean delete(boolean notused) throws MessagingException
expunge
public Message[] expunge() throws MessagingException
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)
open
public void open(int mode)
close
public void close(boolean expunge)
isOpen
public boolean isOpen()
hasNewMessages
public boolean hasNewMessages()
- Overrides:
- hasNewMessages in class Folder
getUndeletedMessageCount
public int getUndeletedMessageCount()
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4