public class IMAPResponse
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.List |
code
The response code.
|
static java.lang.String |
CONTINUATION
The continuation response tag.
|
protected int |
count
The message count (for responses returning counts).
|
protected java.lang.String |
id
The response ID.
|
protected java.lang.String |
mailbox
The mailbox (for STATUS responses).
|
protected java.lang.String |
tag
The tag for this response.
|
protected java.lang.String |
text
The human-readable text.
|
static java.lang.String |
UNTAGGED
The untagged response tag.
|
Constructor and Description |
---|
IMAPResponse() |
Modifier and Type | Method and Description |
---|---|
int |
getCount() |
java.lang.String |
getID() |
java.util.List |
getResponseCode() |
java.lang.String |
getTag() |
java.lang.String |
getText() |
boolean |
isContinuation() |
boolean |
isTagged() |
boolean |
isUntagged() |
java.lang.String |
toANSIString()
ANSI-coloured toString for debugging.
|
java.lang.String |
toString() |
public static final java.lang.String UNTAGGED
public static final java.lang.String CONTINUATION
protected java.lang.String tag
protected java.lang.String id
protected int count
protected java.lang.String mailbox
protected java.util.List code
protected java.lang.String text
public java.lang.String getTag()
public boolean isTagged()
public boolean isUntagged()
public boolean isContinuation()
public java.lang.String getID()
public int getCount()
public java.util.List getResponseCode()
public java.lang.String getText()
public java.lang.String toANSIString()
public java.lang.String toString()
toString
in class java.lang.Object