Name
javax.mail.Folder — This abstract class represents a mail folder. This class is subclassed in order to define specific folder types.
Synopsis
public abstract classFolder
extends java.lang.Object { // Protected Constructor protectedFolder
(Store store); // Public Variables public static final intHOLDS_MESSAGES;
public static final intHOLDS_FOLDERS;
public static final intREAD_ONLY;
public static final intREAD_WRITE;
// Protected Variable protected Storestore;
// Public Methods public abstract java.lang.StringgetName
(); public abstract java.lang.StringgetFullName
(); public URLNamegetURLName()
throws MessagingException; public StoregetStore
(); public abstract FoldergetParent()
throws MessagingException; public abstract booleanexists()
throws MessagingException; public abstract Folder[]list
(java.lang.String pattern) throws MessagingException; public Folder[]listSubscribed
(java.lang.String pattern) throws MessagingException; public Folder[]list()
throws MessagingException; public Folder[]listSubscribed()
throws MessagingException; public abstract chargetSeparator()
throws MessagingException; public abstract intgetType()
throws MessagingException; public abstract booleancreate
(int type) throws MessagingException; public booleanisSubscribed
(); public voidsetSubscribed
(boolean subscribe) throws MessagingException; public abstract booleanhasNewMessages()
throws MessagingException; public abstract FoldergetFolder
(java.lang.String name) throws MessagingException; ...
Get Programming Internet Email now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.