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.
- Version:
- 1.11, 07/05/04
- 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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FetchResponse
public FetchResponse(Protocol p)
throws java.io.IOException,
ProtocolException
- Throws:
java.io.IOException
ProtocolException
FetchResponse
public FetchResponse(IMAPResponse r)
throws java.io.IOException,
ProtocolException
- Throws:
java.io.IOException
ProtocolException
getItemCount
public int getItemCount()
getItem
public Item getItem(int index)
getItem
public Item getItem(java.lang.Class c)
getItem
public static Item getItem(Response[] r,
int msgno,
java.lang.Class c)
Copyright © 2012. All Rights Reserved.