gnu.mail.providers.nntp
public final class NNTPRootFolder extends Folder
Version: 2.0
Method Summary | |
---|---|
void | appendMessages(Message[] messages) |
void | close(boolean expunge) |
boolean | create(int type) |
boolean | delete(boolean flag) |
boolean | exists() |
Message[] | expunge() |
Folder | getFolder(String name)
Returns a new Folder object associated with the specified name. |
String | getFullName() |
Message | getMessage(int msgnum) |
int | getMessageCount() |
String | getName() |
Folder | getParent() |
Flags | getPermanentFlags() |
char | getSeparator()
As we're dealing with a flat namespace, the value of this is
irrelevant. |
int | getType()
This folder contains only folders. |
boolean | hasNewMessages() |
boolean | isOpen() |
Folder[] | list(String pattern)
Returns the list of folders matching the specified pattern. |
Folder[] | list(ListFolderListener listener)
Returns the list of folders matching the specified pattern. |
Folder[] | list(String pattern, ListFolderListener listener)
Returns the list of folders matching the specified pattern. |
Folder[] | listSubscribed(String pattern)
Returns the list of subscribed folders matching the specified pattern. |
void | open(int mode) |
boolean | renameTo(Folder folder) |
void | setSubscribed(boolean flag)
This folder is always "subscribed". |
Parameters: pattern the JavaMail pattern
Parameters: listener the listener to be called as soon as a new folder is listed
Parameters: pattern the JavaMail pattern listener the listener that will be called for each folder name as soon as it is known
Parameters: pattern the JavaMail pattern