com.sun.mail.imap.protocol
Class FetchResponse
java.lang.Object
com.sun.mail.iap.Response
com.sun.mail.imap.protocol.IMAPResponse
com.sun.mail.imap.protocol.FetchResponse
public class FetchResponse
- extends IMAPResponse
This class represents a response obtained from the input stream
of an IMAP server.
- Author:
- John Mani
Fields inherited from class com.sun.mail.iap.Response |
BAD, buffer, BYE, CONTINUATION, index, NO, OK, pindex, size, SYNTHETIC, tag, TAG_MASK, TAGGED, type, TYPE_MASK, UNTAGGED |
Methods inherited from class 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 |
FetchResponse
public FetchResponse(Protocol p)
throws IOException,
ProtocolException
- Throws:
IOException
ProtocolException
FetchResponse
public FetchResponse(IMAPResponse r)
throws IOException,
ProtocolException
- Throws:
IOException
ProtocolException
getItemCount
public int getItemCount()
getItem
public Item getItem(int index)
getItem
public Item getItem(Class c)
getItem
public static Item getItem(Response[] r,
int msgno,
Class c)
Copyright © 2011 Sun Microsystems, Inc.. All Rights Reserved.