com.sun.mail.imap.protocol
类 IMAPResponse
java.lang.Object
com.sun.mail.iap.Response
com.sun.mail.imap.protocol.IMAPResponse
- 直接已知子类:
- FetchResponse
public class IMAPResponse
- extends Response
This class represents a response obtained from the input stream
of an IMAP server.
- 版本:
- 1.5, 07/05/04
- 作者:
- John Mani
| 从类 com.sun.mail.iap.Response 继承的字段 |
BAD, buffer, BYE, CONTINUATION, index, NO, OK, pindex, size, SYNTHETIC, tag, TAG_MASK, TAGGED, type, TYPE_MASK, UNTAGGED |
| 从类 com.sun.mail.iap.Response 继承的方法 |
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 |
IMAPResponse
public IMAPResponse(Protocol c)
throws IOException,
ProtocolException
- 抛出:
IOException
ProtocolException
IMAPResponse
public IMAPResponse(IMAPResponse r)
- Copy constructor.
readSimpleList
public String[] readSimpleList()
- Read a list of space-separated "flag_extension" sequences and
return the list as a array of Strings. An empty list is returned
as null. This is an IMAP-ism, and perhaps this method should
moved into the IMAP layer.
getKey
public String getKey()
keyEquals
public boolean keyEquals(String k)
getNumber
public int getNumber()
readResponse
public static IMAPResponse readResponse(Protocol p)
throws IOException,
ProtocolException
- 抛出:
IOException
ProtocolException
Copyright © 2013. All Rights Reserved.