Uses of Class
javax.mail.Folder

Packages that use Folder
javax.mail   
javax.mail.event   
javax.mail.internet   
 

Uses of Folder in javax.mail
 

Fields in javax.mail declared as Folder
protected  Folder Message.folder
          The Folder that contains this message, or null if it was not obtained from a folder.
 

Methods in javax.mail that return Folder
abstract  Folder Store.getDefaultFolder()
          Return a Folder object that represents the root of the namespace for the current user.
 Folder ReadOnlyFolderException.getFolder()
           
 Folder Message.getFolder()
          Return the folder containing this message.
 Folder FolderNotFoundException.getFolder()
           
 Folder FolderClosedException.getFolder()
           
abstract  Folder Store.getFolder(String name)
          Return the Folder corresponding to the given name.
abstract  Folder Folder.getFolder(String name)
          Get the Folder determined by the supplied name; if the name is relative then it is interpreted relative to this folder.
abstract  Folder Store.getFolder(URLName name)
          Return the folder identified by the URLName; the URLName must refer to this Store.
 Folder Session.getFolder(URLName name)
          Return a closed folder for the supplied URLName, or null if it cannot be obtained.
abstract  Folder Folder.getParent()
          Return the parent for this folder; if the folder is at the root of a heirarchy this returns null.
 Folder[] Store.getPersonalNamespaces()
          Return the root folders of the personal namespace belonging to the current user.
 Folder[] Store.getSharedNamespaces()
          Return the root folders of namespaces that are intended to be shared between users.
 Folder[] Store.getUserNamespaces(String user)
          Return the root folders of the personal namespaces belonging to the supplied user.
 Folder[] Folder.list()
          Convenience method that invokes list(String) with the pattern "%".
abstract  Folder[] Folder.list(String pattern)
          Return a list of folders from this Folder's namespace that match the supplied pattern.
 Folder[] Folder.listSubscribed()
          Convenience method that invokes listSubscribed(String) with the pattern "%".
 Folder[] Folder.listSubscribed(String pattern)
          Return a list of folders to which the user is subscribed and which match the supplied pattern.
 

Methods in javax.mail with parameters of type Folder
 void Folder.copyMessages(Message[] messages, Folder folder)
          Copy the specified messages to another folder.
protected  void Store.notifyFolderListeners(int type, Folder folder)
           
protected  void Folder.notifyFolderRenamedListeners(Folder newFolder)
           
protected  void Store.notifyFolderRenamedListeners(Folder oldFolder, Folder newFolder)
           
abstract  boolean Folder.renameTo(Folder newName)
          Rename this folder; the folder must be closed.
 

Constructors in javax.mail with parameters of type Folder
FolderClosedException(Folder folder)
           
FolderClosedException(Folder folder, String message)
           
FolderNotFoundException(Folder folder)
           
FolderNotFoundException(Folder folder, String message)
           
FolderNotFoundException(String message, Folder folder)
           
Message(Folder folder, int msgnum)
          Constructor initializing folder and message msgnum; intended to be used by implementations of Folder.
ReadOnlyFolderException(Folder folder)
           
ReadOnlyFolderException(Folder folder, String message)
           
 

Uses of Folder in javax.mail.event
 

Fields in javax.mail.event declared as Folder
protected  Folder FolderEvent.folder
           
protected  Folder FolderEvent.newFolder
           
 

Methods in javax.mail.event that return Folder
 Folder FolderEvent.getFolder()
          Return the affected folder.
 Folder FolderEvent.getNewFolder()
          Return the new folder; only applicable to RENAMED events.
 

Constructors in javax.mail.event with parameters of type Folder
FolderEvent(Object source, Folder oldFolder, Folder newFolder, int type)
          Constructor used for RENAMED events.
FolderEvent(Object source, Folder folder, int type)
          Constructor other events.
MessageCountEvent(Folder folder, int type, boolean removed, Message[] messages)
          Construct a new event.
 

Uses of Folder in javax.mail.internet
 

Constructors in javax.mail.internet with parameters of type Folder
MimeMessage(Folder folder, InputStream in, int number)
          Create a MimeMessage by reading an parsing the data from the supplied stream.
MimeMessage(Folder folder, int number)
          Create an new MimeMessage in the supplied Folder and message number.
MimeMessage(Folder folder, InternetHeaders headers, byte[] content, int number)
          Create a MimeMessage with the supplied headers and content.
 



Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.