Module jakarta.mail
Package jakarta.mail

Class FetchProfile.Item

java.lang.Object
jakarta.mail.FetchProfile.Item
Direct Known Subclasses:
UIDFolder.FetchProfileItem
Enclosing class:
FetchProfile

public static class FetchProfile.Item extends Object
This inner class is the base class of all items that can be requested in a FetchProfile. The items currently defined here are ENVELOPE, CONTENT_INFO and FLAGS. The UIDFolder interface defines the UID Item as well.

Note that this class only has a protected constructor, therby restricting new Item types to either this class or subclasses. This effectively implements a enumeration of allowed Item types.

See Also: