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 class Folder extends java.lang.Object {
    // Protected Constructor
            protected Folder(Store store);
    // Public Variables
            public static final int HOLDS_MESSAGES;
            public static final int HOLDS_FOLDERS;
            public static final int READ_ONLY;
            public static final int READ_WRITE;
    // Protected Variable
            protected Store store;
    // Public Methods
            public abstract java.lang.String getName();
            public abstract java.lang.String getFullName();
            public URLName getURLName() throws MessagingException;
            public Store getStore();
            public abstract Folder getParent() throws
             MessagingException;
            public abstract boolean exists() 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 char getSeparator() throws MessagingException;
            public abstract int getType() throws MessagingException;
            public abstract boolean create(int type) throws MessagingException;
            public boolean isSubscribed();
            public void setSubscribed(boolean subscribe) throws
             MessagingException;
            public abstract boolean hasNewMessages() throws MessagingException;
            public abstract Folder getFolder(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.