Package com.icegreen.greenmail.store
Class MessageFlags
- java.lang.Object
-
- com.icegreen.greenmail.store.MessageFlags
-
public class MessageFlags extends Object
The set of flags associated with a message. TODO - why not use jakarta.mail.Flags instead of having our own.Reference: RFC 2060 - para 2.3
- Version:
- 0.1 on 14 Dec 2000
- Author:
- Charles Benett
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
MessageFlags()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
format(jakarta.mail.Flags flags)
Returns IMAP formatted String of MessageFlags for named user
-
-
-
Field Detail
-
ALL_FLAGS
public static final jakarta.mail.Flags ALL_FLAGS
-
ANSWERED
public static final String ANSWERED
- See Also:
- Constant Field Values
-
DELETED
public static final String DELETED
- See Also:
- Constant Field Values
-
DRAFT
public static final String DRAFT
- See Also:
- Constant Field Values
-
FLAGGED
public static final String FLAGGED
- See Also:
- Constant Field Values
-
SEEN
public static final String SEEN
- See Also:
- Constant Field Values
-
RECENT
public static final String RECENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
format
public static String format(jakarta.mail.Flags flags)
Returns IMAP formatted String of MessageFlags for named user- Returns:
- IMAP formatted MessageFlag
-
-