Uses of Class
jakarta.mail.Flags

Packages that use Flags
Package
Description
The Jakarta Mail API provides classes that model a mail system.
Classes specific to Internet mail systems.
Message search terms for the Jakarta Mail API.
  • Uses of Flags in jakarta.mail

    Methods in jakarta.mail that return Flags
    Modifier and Type
    Method
    Description
    abstract Flags
    Message.getFlags()
    Returns a Flags object containing the flags for this message.
    abstract Flags
    Get the permanent flags supported by this Folder.
    Methods in jakarta.mail with parameters of type Flags
    Modifier and Type
    Method
    Description
    void
    Flags.add(Flags f)
    Add all the flags in the given Flags object to this Flags object.
    boolean
    Flags.contains(Flags f)
    Check whether all the flags in the specified Flags object are present in this Flags object.
    void
    Flags.remove(Flags f)
    Remove all flags in the given Flags object from this Flags object.
    boolean
    Flags.retainAll(Flags f)
    Remove any flags not in the given Flags object.
    void
    Folder.setFlags(int[] msgnums, Flags flag, boolean value)
    Set the specified flags on the messages whose message numbers are in the array.
    void
    Folder.setFlags(int start, int end, Flags flag, boolean value)
    Set the specified flags on the messages numbered from start through end, both start and end inclusive.
    void
    Folder.setFlags(Message[] msgs, Flags flag, boolean value)
    Set the specified flags on the messages specified in the array.
    abstract void
    Message.setFlags(Flags flag, boolean set)
    Set the specified flags on this message to the specified value.
    Constructors in jakarta.mail with parameters of type Flags
    Modifier
    Constructor
    Description
     
    Flags(Flags flags)
    Construct a Flags object initialized with the given flags.
  • Uses of Flags in jakarta.mail.internet

    Fields in jakarta.mail.internet declared as Flags
    Modifier and Type
    Field
    Description
    protected Flags
    MimeMessage.flags
    The Flags for this message.
    Methods in jakarta.mail.internet that return Flags
    Modifier and Type
    Method
    Description
    MimeMessage.getFlags()
    Return a Flags object containing the flags for this message.
    Methods in jakarta.mail.internet with parameters of type Flags
    Modifier and Type
    Method
    Description
    void
    MimeMessage.setFlags(Flags flag, boolean set)
    Set the flags for this message.
  • Uses of Flags in jakarta.mail.search

    Methods in jakarta.mail.search that return Flags
    Modifier and Type
    Method
    Description
    FlagTerm.getFlags()
    Return the Flags to test.
    Constructors in jakarta.mail.search with parameters of type Flags
    Modifier
    Constructor
    Description
     
    FlagTerm(Flags flags, boolean set)
    Constructor.