public class IMAPResponse extends Response
| Constructor and Description |
|---|
IMAPResponse(IMAPResponse r)
Copy constructor.
|
IMAPResponse(Protocol c) |
IMAPResponse(String r)
For testing.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getKey() |
int |
getNumber() |
boolean |
keyEquals(String k) |
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, readAtomStringList, readByte, readByteArray, readBytes, readLong, readNumber, readString, readString, readStringList, reset, skip, skipSpaces, skipToken, toStringpublic IMAPResponse(Protocol c) throws IOException, ProtocolException
IOExceptionProtocolExceptionpublic IMAPResponse(IMAPResponse r)
public IMAPResponse(String r) throws IOException, ProtocolException
IOExceptionProtocolExceptionpublic String[] readSimpleList()
public String getKey()
public boolean keyEquals(String k)
public int getNumber()
Copyright © 2005–2017 Oracle Corporation. All rights reserved.