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
 
构造方法摘要
IMAPResponse(IMAPResponse r)
          Copy constructor.
IMAPResponse(Protocol c)
           
 
方法摘要
 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.
 
从类 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
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

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.