gnu.mail.providers.pop3
public final class POP3Folder extends Folder
Version: 1.3
Constructor Summary | |
---|---|
protected | POP3Folder(Store store, int type)
Constructor. |
Method Summary | |
---|---|
void | appendMessages(Message[] messages)
You can't append messages to a POP3 folder. |
void | close(boolean expunge)
Closes this folder. |
boolean | create(int i)
POP3 folders can't be created, deleted, or renamed. |
boolean | delete(boolean flag)
POP3 folders can't be created, deleted, or renamed. |
boolean | exists()
Indicates whether this folder exists. |
Message[] | expunge()
Expunges this folder.
|
void | fetch(Message[] messages, FetchProfile fp)
Fetches headers and/or content for the specified messages. |
Folder | getFolder(String s)
POP3 folders can't contain subfolders. |
String | getFullName()
Returns the full name of this folder. |
Message | getMessage(int msgnum)
Returns the specified message from this folder. |
int | getMessageCount()
Returns the number of messages in this folder.
|
String | getName()
Returns the name of this folder. |
Folder | getParent()
POP3 folders can't have parents. |
Flags | getPermanentFlags()
Returns the permanent flags for this folder. |
char | getSeparator()
Returns the path separator charcter. |
int | getType()
Returns the type of this folder. |
String | getUID(Message message)
Returns the unique ID for the given message, or null if
not available. |
boolean | hasNewMessages()
Indicates whether this folder contains new messages. |
boolean | isOpen()
Indicates whether this folder is open. |
Folder[] | list()
Returns the subfolders for this folder. |
Folder[] | list(String pattern)
Returns the subfolders for this folder. |
void | open(int mode)
Opens this folder. |
boolean | renameTo(Folder folder)
POP3 folders can't be created, deleted, or renamed. |
Parameters: expunge if the folder is to be expunged before it is closed
Throws: MessagingException if a messaging error occurred
Throws: MessagingException if a messaging error occurred
Throws: MessagingException if a messaging error occurred
Throws: MessagingException ignore
Parameters: msgnum the message number
Throws: MessagingException if a messaging error occurred
Throws: MessagingException if a messaging error occurred
Throws: MessagingException if a messaging error occurred
null
if
not available.Parameters: message the message
Throws: MessagingException if a messaging error occurred
Throws: MessagingException if a messaging error occurred