ImapStatusCode
Inheritance: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum
public final class ImapStatusCode extends System.Enum
Represents the status responses.
Fields
Field | Description |
---|---|
Alert | The human-readable text contains a special alert that MUST be presented to the user in a fashion that calls the user’s attention to the message. |
Bad | The BAD response indicates an error message from the server. |
BadCharset | Optionally followed by a parenthesized list of charsets. |
Bye | The BYE response is always untagged, and indicates that the server is about to close the connection. |
Capability | Followed by a list of capabilities. |
EnumSeparatorCharArray | |
No | The NO response indicates an operational error message from the server. |
NotDefined | Not defined |
Ok | The OK response indicates an information message from the server. |
Parse | The human-readable text represents an error in parsing the [RFC-2822] header or [MIME-IMB] headers of a message in the mailbox. |
PermanentFlags | Followed by a parenthesized list of flags, indicates which of the known flags the client can change permanently. |
Preauth | The PREAUTH response is always untagged, and is one of three possible greetings at connection startup. |
ReadOnly | The mailbox is selected read-only. |
ReadWrite | The mailbox is selected read-write. |
TryCreate | An APPEND or COPY attempt is failing because the target mailbox does not exist. |
UIDNext | Indicates the next unique identifier value. |
UIDValidity | Indicates the unique identifier validity value. |
Unseen | Indicates the number of the first message without the \Seen flag set. |
Unsolicited | Untagged status responses. |
Methods
Alert
public static final int Alert
The human-readable text contains a special alert that MUST be presented to the user in a fashion that calls the user’s attention to the message.
Bad
public static final int Bad
The BAD response indicates an error message from the server. When tagged, it reports a protocol-level error in the client’s command; the tag indicates the command that caused the error. The untagged form indicates a protocol-level error for which the associated command can not be determined; it can also indicate an internal server failure. The human-readable text describes the condition.
BadCharset
public static final int BadCharset
Optionally followed by a parenthesized list of charsets. A SEARCH failed because the given charset is not supported by this implementation.
Bye
public static final int Bye
The BYE response is always untagged, and indicates that the server is about to close the connection. The human-readable text MAY be displayed to the user in a status report by the client. The difference between a BYE that occurs as part of a normal LOGOUT sequence (the first case) and a BYE that occurs because of a failure (the other three cases) is that the connection closes immediately in the failure case.
Capability
public static final int Capability
Followed by a list of capabilities.
EnumSeparatorCharArray
public static final char[] EnumSeparatorCharArray
No
public static final int No
The NO response indicates an operational error message from the server. When tagged, it indicates unsuccessful completion of the associated command. The untagged form indicates a warning; the command can still complete successfully. The human-readable text describes the condition.
NotDefined
public static final int NotDefined
Not defined
Ok
public static final int Ok
The OK response indicates an information message from the server. When tagged, it indicates successful completion of the associated command. The human-readable text MAY be presented to the user as an information message. The untagged form indicates an information-only message; the nature of the information MAY be indicated by a response code.
Parse
public static final int Parse
The human-readable text represents an error in parsing the [RFC-2822] header or [MIME-IMB] headers of a message in the mailbox.
PermanentFlags
public static final int PermanentFlags
Followed by a parenthesized list of flags, indicates which of the known flags the client can change permanently.
Preauth
public static final int Preauth
The PREAUTH response is always untagged, and is one of three possible greetings at connection startup. It indicates that the connection has already been authenticated by external means and thus no LOGIN command is needed.
ReadOnly
public static final int ReadOnly
The mailbox is selected read-only.
ReadWrite
public static final int ReadWrite
The mailbox is selected read-write.
TryCreate
public static final int TryCreate
An APPEND or COPY attempt is failing because the target mailbox does not exist.
UIDNext
public static final int UIDNext
Indicates the next unique identifier value.
UIDValidity
public static final int UIDValidity
Indicates the unique identifier validity value.
Unseen
public static final int Unseen
Indicates the number of the first message without the \Seen flag set.
Unsolicited
public static final int Unsolicited
Untagged status responses.
Clone()
public System.Enum Clone()
Returns: com.aspose.ms.System.Enum
CloneTo(T arg0)
public abstract void CloneTo(T arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | T |
CloneTo(System.Enum arg0)
public void CloneTo(System.Enum arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Enum |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
format(System.Type arg0, Object arg1, String arg2)
public static String format(System.Type arg0, Object arg1, String arg2)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | java.lang.Object | |
arg2 | java.lang.String |
Returns: java.lang.String
format(Class arg0, long arg1, String arg2)
public static String format(Class<?> arg0, long arg1, String arg2)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class | |
arg1 | long | |
arg2 | java.lang.String |
Returns: java.lang.String
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getName(System.Type arg0, Object arg1)
public static String getName(System.Type arg0, Object arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | java.lang.Object |
Returns: java.lang.String
getName(Class arg0, long arg1)
public static String getName(Class<?> arg0, long arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class | |
arg1 | long |
Returns: java.lang.String
getNames(System.Type arg0)
public static String[] getNames(System.Type arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type |
Returns: java.lang.String[]
getNames(Class arg0)
public static Collection<String> getNames(Class<?> arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class |
Returns: java.util.Collection<java.lang.String>
getUnderlyingType(System.Type arg0)
public static System.Type getUnderlyingType(System.Type arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type |
Returns: com.aspose.ms.System.Type
getUnderlyingType(Class arg0)
public static Class<? extends Number> getUnderlyingType(Class<?> arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class |
Returns: java.lang.Class<? extends java.lang.Number>
getValue(Class arg0, String arg1)
public static long getValue(Class<?> arg0, String arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class | |
arg1 | java.lang.String |
Returns: long
getValues(System.Type arg0)
public static System.Array getValues(System.Type arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type |
Returns: com.aspose.ms.System.Array
get_Caption()
public String get_Caption()
Returns: java.lang.String
get_Value()
public long get_Value()
Returns: long
hashCode()
public native int hashCode()
Returns: int
isDefined(System.Type arg0, Object arg1)
public static boolean isDefined(System.Type arg0, Object arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | java.lang.Object |
Returns: boolean
isDefined(System.Type arg0, String arg1)
public static boolean isDefined(System.Type arg0, String arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | java.lang.String |
Returns: boolean
isDefined(System.Type arg0, long arg1)
public static boolean isDefined(System.Type arg0, long arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | long |
Returns: boolean
isDefined(Class arg0, long arg1)
public static boolean isDefined(Class<?> arg0, long arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class | |
arg1 | long |
Returns: boolean
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
parse(System.Type arg0, String arg1)
public static long parse(System.Type arg0, String arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | java.lang.String |
Returns: long
parse(System.Type arg0, String arg1, Boolean arg2)
public static long parse(System.Type arg0, String arg1, Boolean arg2)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | java.lang.String | |
arg2 | java.lang.Boolean |
Returns: long
parse(Class arg0, String arg1)
public static long parse(Class<?> arg0, String arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class | |
arg1 | java.lang.String |
Returns: long
parse(Class arg0, String arg1, Boolean arg2)
public static long parse(Class<?> arg0, String arg1, Boolean arg2)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class | |
arg1 | java.lang.String | |
arg2 | java.lang.Boolean |
Returns: long
register(System.Enum.AbstractEnum arg0)
public static void register(System.Enum.AbstractEnum arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Enum.AbstractEnum |
toObject(System.Type arg0, Object arg1)
public static Object toObject(System.Type arg0, Object arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | java.lang.Object |
Returns: java.lang.Object
toString()
public String toString()
Returns: java.lang.String
toString(Class arg0, long arg1)
public static String toString(Class<?> arg0, long arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class | |
arg1 | long |
Returns: java.lang.String
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 |