ImapMessageFlags
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.ms.System.IEquatable
public class ImapMessageFlags implements System.IEquatable<ImapMessageFlags>
Represents the flags associated with the message.
Methods
Method | Description |
---|---|
bitwiseAnd(ImapMessageFlags a, ImapMessageFlags b) | Implements the operator &. |
bitwiseOr(ImapMessageFlags a, ImapMessageFlags b) | Implements the operator |
bitwiseOr(ImapMessageFlags a, String b) | Implements the operator |
bitwiseOr(String a, ImapMessageFlags b) | Implements the operator |
equals(ImapMessageFlags other) | Determines whether the specified object is equal to the current object. |
equals(Object obj) | Determines whether the specified Object is equal to this instance. |
getAnswered() | Message has been answered. |
getClass() | |
getDeleted() | Message is “deleted” for removal by later EXPUNGE. |
getDraft() | Message has been marked as a draft. |
getEmpty() | Flags are not set |
getFlagged() | Message is “flagged” for urgent/special attention. |
getRecent() | Message is “recently” arrived in this mailbox. |
hasFlag(ImapMessageFlags what) | Returns true if “who” contains the “flag” |
hashCode() | Returns a hash code for this instance. |
isEmpty() | Determines whether this instance is empty. |
isRead() | Message has been read. |
keyword(String flag) | Message has been marked by custom flag. |
notify() | |
notifyAll() | |
op_BitwiseAnd(ImapMessageFlags a, ImapMessageFlags b) | Implements the operator &. |
op_BitwiseOr(ImapMessageFlags a, ImapMessageFlags b) | Implements the operator |
op_BitwiseOr(ImapMessageFlags a, String b) | Implements the operator |
op_BitwiseOr(String a, ImapMessageFlags b) | Implements the operator |
op_Equality(ImapMessageFlags a, ImapMessageFlags b) | Implements the operator ==. |
op_Inequality(ImapMessageFlags a, ImapMessageFlags b) | Implements the operator !=. |
split() | Split to Array. |
toString() | Returns a String that represents this instance. |
to_ImapMessageFlags(String type) | Performs an implicit conversion from long to ImapMessageFlags. |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
bitwiseAnd(ImapMessageFlags a, ImapMessageFlags b)
public static ImapMessageFlags bitwiseAnd(ImapMessageFlags a, ImapMessageFlags b)
Implements the operator &.
Parameters:
Parameter | Type | Description |
---|---|---|
a | ImapMessageFlags | First set of imap message flags. |
b | ImapMessageFlags | Second set of imap message flags. |
Returns: ImapMessageFlags - The result of the operator.
bitwiseOr(ImapMessageFlags a, ImapMessageFlags b)
public static ImapMessageFlags bitwiseOr(ImapMessageFlags a, ImapMessageFlags b)
Implements the operator |.
Parameters:
Parameter | Type | Description |
---|---|---|
a | ImapMessageFlags | First set of imap message flags. |
b | ImapMessageFlags | Second set of imap message flags. |
Returns: ImapMessageFlags - The result of the operator.
bitwiseOr(ImapMessageFlags a, String b)
public static ImapMessageFlags bitwiseOr(ImapMessageFlags a, String b)
Implements the operator |.
Parameters:
Parameter | Type | Description |
---|---|---|
a | ImapMessageFlags | First set of imap message flags. |
b | java.lang.String | Second set of imap message flags. |
Returns: ImapMessageFlags - The result of the operator.
bitwiseOr(String a, ImapMessageFlags b)
public static ImapMessageFlags bitwiseOr(String a, ImapMessageFlags b)
Implements the operator |.
Parameters:
Parameter | Type | Description |
---|---|---|
a | java.lang.String | First set of imap message flags. |
b | ImapMessageFlags | Second set of imap message flags. |
Returns: ImapMessageFlags - The result of the operator.
equals(ImapMessageFlags other)
public boolean equals(ImapMessageFlags other)
Determines whether the specified object is equal to the current object.
Parameters:
Parameter | Type | Description |
---|---|---|
other | ImapMessageFlags | The object to compare with the current object. |
Returns: boolean - true if the specified object is equal to the current object; otherwise, false.
equals(Object obj)
public boolean equals(Object obj)
Determines whether the specified Object is equal to this instance.
Parameters:
Parameter | Type | Description |
---|---|---|
obj | java.lang.Object | The Object to compare with this instance. |
Returns: boolean - true if the specified Object is equal to this instance; otherwise, false .
getAnswered()
public static ImapMessageFlags getAnswered()
Message has been answered.
Returns: ImapMessageFlags
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getDeleted()
public static ImapMessageFlags getDeleted()
Message is “deleted” for removal by later EXPUNGE.
Returns: ImapMessageFlags
getDraft()
public static ImapMessageFlags getDraft()
Message has been marked as a draft.
Returns: ImapMessageFlags
getEmpty()
public static ImapMessageFlags getEmpty()
Flags are not set
Returns: ImapMessageFlags
getFlagged()
public static ImapMessageFlags getFlagged()
Message is “flagged” for urgent/special attention.
Returns: ImapMessageFlags
getRecent()
public static ImapMessageFlags getRecent()
Message is “recently” arrived in this mailbox.
Returns: ImapMessageFlags
hasFlag(ImapMessageFlags what)
public final boolean hasFlag(ImapMessageFlags what)
Returns true if “who” contains the “flag”
Parameters:
Parameter | Type | Description |
---|---|---|
what | ImapMessageFlags | Imap message flags |
Returns: boolean -
hashCode()
public int hashCode()
Returns a hash code for this instance.
Returns: int - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
isEmpty()
public final boolean isEmpty()
Determines whether this instance is empty.
Returns: boolean - true if this instance is empty; otherwise, false .
isRead()
public static ImapMessageFlags isRead()
Message has been read.
Returns: ImapMessageFlags
keyword(String flag)
public static ImapMessageFlags keyword(String flag)
Message has been marked by custom flag.
Parameters:
Parameter | Type | Description |
---|---|---|
flag | java.lang.String |
Returns: ImapMessageFlags
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
op_BitwiseAnd(ImapMessageFlags a, ImapMessageFlags b)
public static ImapMessageFlags op_BitwiseAnd(ImapMessageFlags a, ImapMessageFlags b)
Implements the operator &.
Parameters:
Parameter | Type | Description |
---|---|---|
a | ImapMessageFlags | First set of imap message flags. |
b | ImapMessageFlags | Second set of imap message flags. |
Returns: ImapMessageFlags - The result of the operator.
op_BitwiseOr(ImapMessageFlags a, ImapMessageFlags b)
public static ImapMessageFlags op_BitwiseOr(ImapMessageFlags a, ImapMessageFlags b)
Implements the operator |.
Parameters:
Parameter | Type | Description |
---|---|---|
a | ImapMessageFlags | First set of imap message flags. |
b | ImapMessageFlags | Second set of imap message flags. |
Returns: ImapMessageFlags - The result of the operator.
op_BitwiseOr(ImapMessageFlags a, String b)
public static ImapMessageFlags op_BitwiseOr(ImapMessageFlags a, String b)
Implements the operator |.
Parameters:
Parameter | Type | Description |
---|---|---|
a | ImapMessageFlags | First set of imap message flags. |
b | java.lang.String | Second set of imap message flags. |
Returns: ImapMessageFlags - The result of the operator.
op_BitwiseOr(String a, ImapMessageFlags b)
public static ImapMessageFlags op_BitwiseOr(String a, ImapMessageFlags b)
Implements the operator |.
Parameters:
Parameter | Type | Description |
---|---|---|
a | java.lang.String | First set of imap message flags. |
b | ImapMessageFlags | Second set of imap message flags. |
Returns: ImapMessageFlags - The result of the operator.
op_Equality(ImapMessageFlags a, ImapMessageFlags b)
public static boolean op_Equality(ImapMessageFlags a, ImapMessageFlags b)
Implements the operator ==.
Parameters:
Parameter | Type | Description |
---|---|---|
a | ImapMessageFlags | First set of imap message flags. |
b | ImapMessageFlags | Second set of imap message flags. |
Returns: boolean - The result of the operator.
op_Inequality(ImapMessageFlags a, ImapMessageFlags b)
public static boolean op_Inequality(ImapMessageFlags a, ImapMessageFlags b)
Implements the operator !=.
Parameters:
Parameter | Type | Description |
---|---|---|
a | ImapMessageFlags | First set of imap message flags. |
b | ImapMessageFlags | Second set of imap message flags. |
Returns: boolean - The result of the operator.
split()
public final ImapMessageFlags[] split()
Split to Array.
Returns: com.aspose.email.ImapMessageFlags[]
toString()
public String toString()
Returns a String that represents this instance.
Returns: java.lang.String - A String that represents this instance.
to_ImapMessageFlags(String type)
public static ImapMessageFlags to_ImapMessageFlags(String type)
Performs an implicit conversion from long to ImapMessageFlags.
Parameters:
Parameter | Type | Description |
---|---|---|
type | java.lang.String | Value of a type. |
Returns: ImapMessageFlags - The result of the conversion.
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |