Uses of Class
javax.mail.Flags
-
Packages that use Flags Package Description javax.mail The Jakarta Mail API provides classes that model a mail system.javax.mail.internet Classes specific to Internet mail systems.javax.mail.search Message search terms for the Jakarta Mail API. -
-
Uses of Flags in javax.mail
Methods in javax.mail that return Flags Modifier and Type Method Description abstract FlagsMessage. getFlags()Returns aFlagsobject containing the flags for this message.abstract FlagsFolder. getPermanentFlags()Get the permanent flags supported by this Folder.Methods in javax.mail with parameters of type Flags Modifier and Type Method Description voidFlags. add(Flags f)Add all the flags in the given Flags object to this Flags object.booleanFlags. contains(Flags f)Check whether all the flags in the specified Flags object are present in this Flags object.voidFlags. remove(Flags f)Remove all flags in the given Flags object from this Flags object.booleanFlags. retainAll(Flags f)Remove any flags not in the given Flags object.voidFolder. setFlags(int[] msgnums, Flags flag, boolean value)Set the specified flags on the messages whose message numbers are in the array.voidFolder. 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.voidFolder. setFlags(Message[] msgs, Flags flag, boolean value)Set the specified flags on the messages specified in the array.abstract voidMessage. setFlags(Flags flag, boolean set)Set the specified flags on this message to the specified value.Constructors in javax.mail with parameters of type Flags Constructor Description Flags(Flags flags)Construct a Flags object initialized with the given flags. -
Uses of Flags in javax.mail.internet
Fields in javax.mail.internet declared as Flags Modifier and Type Field Description protected FlagsMimeMessage. flagsThe Flags for this message.Methods in javax.mail.internet that return Flags Modifier and Type Method Description FlagsMimeMessage. getFlags()Return aFlagsobject containing the flags for this message.Methods in javax.mail.internet with parameters of type Flags Modifier and Type Method Description voidMimeMessage. setFlags(Flags flag, boolean set)Set the flags for this message. -
Uses of Flags in javax.mail.search
Methods in javax.mail.search that return Flags Modifier and Type Method Description FlagsFlagTerm. getFlags()Return the Flags to test.Constructors in javax.mail.search with parameters of type Flags Constructor Description FlagTerm(Flags flags, boolean set)Constructor.
-