Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
javax.mail.Folder

Packages that use Folder
com.sun.mail.imap | An IMAP protocol provider for the JavaMail API that provides access to an IMAP message store.
com.sun.mail.pop3 | A POP3 protocol provider for the JavaMail API that provides access to a POP3 message store.
javax.mail | Classes modeling a mail system.
javax.mail.event | Listeners and events for the JavaMail API.
javax.mail.internet | Classes specific to Internet mail systems.

Uses of Folder in com.sun.mail.imap

Subclasses of Folder in com.sun.mail.imap
`class` | `IMAPFolder` This class implements an IMAP folder.

Methods in com.sun.mail.imap that return Folder
`Folder` | `IMAPFolder.getParent()` Get this folder's parent.
`Folder[]` | `IMAPFolder.list(java.lang.String pattern)` List all subfolders matching the specified pattern.
`Folder[]` | `IMAPFolder.listSubscribed(java.lang.String pattern)` List all subscribed subfolders matching the specified pattern.
`Folder` | `IMAPFolder.getFolder(java.lang.String name)` Get the named subfolder.
`Folder` | `IMAPStore.getDefaultFolder()` Get the default folder, representing the root of this user's namespace.
`Folder` | `IMAPStore.getFolder(java.lang.String name)` Get named folder.
`Folder` | `IMAPStore.getFolder(URLName url)` Get named folder.
`Folder[]` | `IMAPStore.getPersonalNamespaces()` Using the IMAP NAMESPACE command (RFC 2342), return a set of folders representing the Personal namespaces.
`Folder[]` | `IMAPStore.getUserNamespaces(java.lang.String user)` Using the IMAP NAMESPACE command (RFC 2342), return a set of folders representing the User's namespaces.
`Folder[]` | `IMAPStore.getSharedNamespaces()` Using the IMAP NAMESPACE command (RFC 2342), return a set of folders representing the Shared namespaces.

Methods in com.sun.mail.imap with parameters of type Folder
`boolean` | `IMAPFolder.renameTo(Folder f)` Rename this folder.
`void` | `IMAPFolder.copyMessages(Message[] msgs, Folder folder)` Copy the specified messages from this folder, to the specified destination.

Uses of Folder in com.sun.mail.pop3

Subclasses of Folder in com.sun.mail.pop3
`class` | `POP3Folder` A POP3 Folder (can only be "INBOX").

Methods in com.sun.mail.pop3 that return Folder
`Folder` | `POP3Folder.getParent()`
`Folder[]` | `POP3Folder.list(java.lang.String pattern)` Always throws `MessagingException` because no POP3 folders can contain subfolders.
`Folder` | `POP3Folder.getFolder(java.lang.String name)` Always throws `MessagingException` because no POP3 folders can contain subfolders.
`Folder` | `POP3Store.getDefaultFolder()`
`Folder` | `POP3Store.getFolder(java.lang.String name)` Only the name "INBOX" is supported.
`Folder` | `POP3Store.getFolder(URLName url)`

Methods in com.sun.mail.pop3 with parameters of type Folder
`boolean` | `POP3Folder.renameTo(Folder f)` Always throws `MethodNotSupportedException` because the POP3 protocol doesn't support multiple folders.
`protected POP3Message` | `POP3Folder.createMessage(Folder f, int msgno)`

Constructors in com.sun.mail.pop3 with parameters of type Folder
`POP3Message(Folder folder, int msgno)`

Uses of Folder in javax.mail

Fields in javax.mail declared as Folder
`protected Folder` | `Message.folder` The containing folder, if this message is obtained from a folder

Methods in javax.mail that return Folder
`Folder` | `FolderNotFoundException.getFolder()` Returns the offending Folder object.
`Folder` | `FolderClosedException.getFolder()` Returns the dead Folder object
`Folder` | `Message.getFolder()` Get the folder from which this message was obtained.
`Folder` | `ReadOnlyFolderException.getFolder()` Returns the dead Folder object.
`abstract Folder` | `Store.getDefaultFolder()` Returns a Folder object that represents the 'root' of the default namespace presented to the user by the Store.
`abstract Folder` | `Store.getFolder(java.lang.String name)` Return the Folder object corresponding to the given name.
`abstract Folder` | `Store.getFolder(URLName url)` Return a closed Folder object, corresponding to the given URLName.
`Folder[]` | `Store.getPersonalNamespaces()` Return a set of folders representing the personal namespaces for the current user.
`Folder[]` | `Store.getUserNamespaces(java.lang.String user)` Return a set of folders representing the namespaces for `user`.
`Folder[]` | `Store.getSharedNamespaces()` Return a set of folders representing the shared namespaces.
`abstract Folder` | `Folder.getParent()` Returns the parent folder of this folder.
`abstract Folder[]` | `Folder.list(java.lang.String pattern)` Returns a list of Folders belonging to this Folder's namespace that match the specified pattern.
`Folder[]` | `Folder.listSubscribed(java.lang.String pattern)` Returns a list of subscribed Folders belonging to this Folder's namespace that match the specified pattern.
`Folder[]` | `Folder.list()` Convenience method that returns the list of folders under this Folder.
`Folder[]` | `Folder.listSubscribed()` Convenience method that returns the list of subscribed folders under this Folder.
`abstract Folder` | `Folder.getFolder(java.lang.String name)` Return the Folder object corresponding to the given name.
`Folder` | `Session.getFolder(URLName url)` Get a closed Folder object for the given URLName.

Methods in javax.mail with parameters of type Folder
`protected void` | `Store.notifyFolderListeners(int type, Folder folder)` Notify all FolderListeners.
`protected void` | `Store.notifyFolderRenamedListeners(Folder oldF, Folder newF)` Notify all FolderListeners about the renaming of a folder.
`abstract boolean` | `Folder.renameTo(Folder f)` Rename this Folder.
`void` | `Folder.copyMessages(Message[] msgs, Folder folder)` Copy the specified Messages from this Folder into another Folder.
`protected void` | `Folder.notifyFolderRenamedListeners(Folder folder)` Notify all FolderListeners registered on this Folder and this folder's Store about the renaming of this folder.

Constructors in javax.mail with parameters of type Folder
`FolderNotFoundException(Folder folder)` Constructs a MessagingException with the specified folder.
`FolderNotFoundException(Folder folder, java.lang.String s)` Constructs a MessagingException with the specified folder and the specified detail message.
`FolderNotFoundException(java.lang.String s, Folder folder)` Constructs a MessagingException with the specified detail message and the specified folder.
`FolderClosedException(Folder folder)` Constructor
`FolderClosedException(Folder folder, java.lang.String message)` Constructor
`Message(Folder folder, int msgnum)` Constructor that takes a Folder and a message number.
`ReadOnlyFolderException(Folder folder)` Constructs a MessagingException with the specified folder.
`ReadOnlyFolderException(Folder folder, java.lang.String message)` Constructs a MessagingException with the specified folder and the specified detail message.

Uses of Folder in javax.mail.event

Fields in javax.mail.event declared as Folder
`protected Folder` | `FolderEvent.folder` The folder the event occurred on.
`protected Folder` | `FolderEvent.newFolder` The folder that represents the new name, in case of a RENAMED event.

Methods in javax.mail.event that return Folder
`Folder` | `FolderEvent.getFolder()` Return the affected folder.
`Folder` | `FolderEvent.getNewFolder()` If this event indicates that a folder is renamed, (i.e, the event type is RENAMED), then this method returns the Folder object representing the new name.

Constructors in javax.mail.event with parameters of type Folder
`FolderEvent(java.lang.Object source, Folder folder, int type)` Constructor.
`FolderEvent(java.lang.Object source, Folder oldFolder, Folder newFolder, int type)` Constructor.
`MessageCountEvent(Folder folder, int type, boolean removed, Message[] msgs)` Constructor.

Uses of Folder in javax.mail.internet

Constructors in javax.mail.internet with parameters of type Folder
`MimeMessage(Folder folder, int msgnum)` Constructs an empty MimeMessage object with the given Folder and message number.
`MimeMessage(Folder folder, java.io.InputStream is, int msgnum)` Constructs a MimeMessage by reading and parsing the data from the specified MIME InputStream.
`MimeMessage(Folder folder, InternetHeaders headers, byte[] content, int msgnum)` Constructs a MimeMessage from the given InternetHeaders object and content.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES