public class ImapMessageFlags extends Object
Represents the flags associated with the message.
Modifier and Type | Method and Description |
---|---|
static ImapMessageFlags |
bitwiseAnd(ImapMessageFlags a,
ImapMessageFlags b)
Implements the operator &.
|
static ImapMessageFlags |
bitwiseOr(ImapMessageFlags a,
ImapMessageFlags b)
Implements the operator |.
|
static ImapMessageFlags |
bitwiseOr(ImapMessageFlags a,
long b)
Implements the operator |.
|
static ImapMessageFlags |
bitwiseOr(long a,
ImapMessageFlags b)
Implements the operator |.
|
boolean |
equals(Object obj)
Determines whether the specified
System.Object is equal to this instance. |
static ImapMessageFlags |
getAnswered()
Message has been answered.
|
static ImapMessageFlags |
getDeleted()
Message is "deleted" for removal by later EXPUNGE.
|
static ImapMessageFlags |
getDraft()
Message has been marked as a draft.
|
static ImapMessageFlags |
getEmpty()
Flags are not set
|
static ImapMessageFlags |
getFlagged()
Message is "flagged" for urgent/special attention.
|
static ImapMessageFlags |
getRecent()
Message is "recently" arrived in this mailbox.
|
boolean |
hasFlag(ImapMessageFlags what)
Returns true if "who" contains the "flag"
|
int |
hashCode()
Returns a hash code for this instance.
|
boolean |
isEmpty()
Determines whether this instance is empty.
|
static ImapMessageFlags |
isRead()
Message has been read.
|
static ImapMessageFlags |
op_BitwiseAnd(ImapMessageFlags a,
ImapMessageFlags b)
Implements the operator &.
|
static ImapMessageFlags |
op_BitwiseOr(ImapMessageFlags a,
ImapMessageFlags b)
Implements the operator |.
|
static ImapMessageFlags |
op_BitwiseOr(ImapMessageFlags a,
long b)
Implements the operator |.
|
static ImapMessageFlags |
op_BitwiseOr(long a,
ImapMessageFlags b)
Implements the operator |.
|
static boolean |
op_Equality(ImapMessageFlags a,
ImapMessageFlags b)
Implements the operator ==.
|
static boolean |
op_Inequality(ImapMessageFlags a,
ImapMessageFlags b)
Implements the operator !=.
|
static ImapMessageFlags |
to_ImapMessageFlags(long type)
Performs an implicit conversion from
System.Int64 to Aspose.Email.Imap.ImapMessageFlags . |
String |
toString()
Returns a
System.String that represents this instance. |
public static ImapMessageFlags getAnswered()
Message has been answered.
ImapMessageFlags
object.public static ImapMessageFlags getDeleted()
Message is "deleted" for removal by later EXPUNGE.
ImapMessageFlags
object.public static ImapMessageFlags getDraft()
Message has been marked as a draft.
ImapMessageFlags
object.public static ImapMessageFlags getFlagged()
Message is "flagged" for urgent/special attention.
ImapMessageFlags
object.public static ImapMessageFlags getRecent()
Message is "recently" arrived in this mailbox.
ImapMessageFlags
object.public static ImapMessageFlags isRead()
Message has been read.
ImapMessageFlags
object.public static ImapMessageFlags getEmpty()
Flags are not set
ImapMessageFlags
object.public boolean isEmpty()
Determines whether this instance is empty.
true
if this instance is empty; otherwise, false
.public int hashCode()
Returns a hash code for this instance.
public boolean equals(Object obj)
Determines whether the specified System.Object
is equal to this instance.
public static ImapMessageFlags to_ImapMessageFlags(long type)
Performs an implicit conversion from System.Int64
to Aspose.Email.Imap.ImapMessageFlags
.
type
- Value of a type.public static ImapMessageFlags op_BitwiseOr(ImapMessageFlags a, ImapMessageFlags b)
Implements the operator |.
a
- First set of imap message flags.b
- Second set of imap message flags.public static ImapMessageFlags op_BitwiseOr(ImapMessageFlags a, long b)
Implements the operator |.
a
- First set of imap message flags.b
- Second set of imap message flags.public static ImapMessageFlags op_BitwiseOr(long a, ImapMessageFlags b)
Implements the operator |.
a
- First set of imap message flags.b
- Second set of imap message flags.public static ImapMessageFlags op_BitwiseAnd(ImapMessageFlags a, ImapMessageFlags b)
Implements the operator &.
a
- First set of imap message flags.b
- Second set of imap message flags.public static ImapMessageFlags bitwiseOr(ImapMessageFlags a, ImapMessageFlags b)
Implements the operator |.
a
- First set of imap message flags.b
- Second set of imap message flags.public static ImapMessageFlags bitwiseOr(ImapMessageFlags a, long b)
Implements the operator |.
a
- First set of imap message flags.b
- Second set of imap message flags.public static ImapMessageFlags bitwiseOr(long a, ImapMessageFlags b)
Implements the operator |.
a
- First set of imap message flags.b
- Second set of imap message flags.public static ImapMessageFlags bitwiseAnd(ImapMessageFlags a, ImapMessageFlags b)
Implements the operator &.
a
- First set of imap message flags.b
- Second set of imap message flags.public boolean hasFlag(ImapMessageFlags what)
Returns true if "who" contains the "flag"
what
- Imap message flagspublic static boolean op_Inequality(ImapMessageFlags a, ImapMessageFlags b)
Implements the operator !=.
a
- First set of imap message flags.b
- Second set of imap message flags.public static boolean op_Equality(ImapMessageFlags a, ImapMessageFlags b)
Implements the operator ==.
a
- First set of imap message flags.b
- Second set of imap message flags.Copyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.