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)
| 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. |
no test coverage detected