MCPcopy Create free account
hub / github.com/M66B/FairEmail / isSet

Method isSet

app/src/main/java/javax/mail/Message.java:524–526  ·  view source on GitHub ↗

Check whether the flag specified in the flag argument is set in this message. The default implementation uses getFlags . @param flag the flag @return value of the specified flag for this message @see javax.mail.Flags.Flag @see javax.mail.Flags.Flag#ANSWERED @see j

(Flags.Flag flag)

Source from the content-addressed store, hash-verified

522 * @exception MessagingException for failures
523 */
524 public boolean isSet(Flags.Flag flag) throws MessagingException {
525 return getFlags().contains(flag);
526 }
527
528 /**
529 * Set the specified flags on this message to the specified value.

Callers 4

onMoveMethod · 0.95
getNewMessageCountMethod · 0.45
getUnreadMessageCountMethod · 0.45

Calls 2

getFlagsMethod · 0.95
containsMethod · 0.45

Tested by

no test coverage detected