public class IMAPResponse extends Response
Constructor and Description |
---|
IMAPResponse(IMAPResponse r)
Copy constructor.
|
IMAPResponse(Protocol c) |
Modifier and Type | Method and Description |
---|---|
String |
getKey() |
int |
getNumber() |
boolean |
keyEquals(String k) |
static IMAPResponse |
readResponse(Protocol p) |
String[] |
readSimpleList()
Read a list of space-separated "flag_extension" sequences and
return the list as a array of Strings.
|
byeResponse, getRest, getTag, getType, isBAD, isBYE, isContinuation, isNO, isOK, isSynthetic, isTagged, isUnTagged, peekByte, readAtom, readAtom, readAtomString, readByte, readByteArray, readBytes, readLong, readNumber, readString, readString, readStringList, reset, skip, skipSpaces, skipToken, toString
public IMAPResponse(Protocol c) throws IOException, ProtocolException
IOException
ProtocolException
public IMAPResponse(IMAPResponse r)
public String[] readSimpleList()
public String getKey()
public boolean keyEquals(String k)
public int getNumber()
public static IMAPResponse readResponse(Protocol p) throws IOException, ProtocolException
IOException
ProtocolException
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.