org.apache.geronimo.javamail.store.imap.connection
Class IMAPFetchDataItem
java.lang.Object
org.apache.geronimo.javamail.store.imap.connection.IMAPFetchDataItem
- Direct Known Subclasses:
- IMAPBodyStructure, IMAPEnvelope, IMAPFetchBodyPart, IMAPFlags, IMAPInternalDate, IMAPMessageSize, IMAPUid
public class IMAPFetchDataItem
- extends Object
Method Summary |
int |
getType()
Get the type of the FetchResponse. |
boolean |
isType(int t)
Test if this fetch response is of the correct type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FETCH
public static final int FETCH
- See Also:
- Constant Field Values
ENVELOPE
public static final int ENVELOPE
- See Also:
- Constant Field Values
BODY
public static final int BODY
- See Also:
- Constant Field Values
BODYSTRUCTURE
public static final int BODYSTRUCTURE
- See Also:
- Constant Field Values
INTERNALDATE
public static final int INTERNALDATE
- See Also:
- Constant Field Values
SIZE
public static final int SIZE
- See Also:
- Constant Field Values
UID
public static final int UID
- See Also:
- Constant Field Values
TEXT
public static final int TEXT
- See Also:
- Constant Field Values
HEADER
public static final int HEADER
- See Also:
- Constant Field Values
FLAGS
public static final int FLAGS
- See Also:
- Constant Field Values
type
protected int type
IMAPFetchDataItem
public IMAPFetchDataItem(int type)
getType
public int getType()
- Get the type of the FetchResponse.
- Returns:
- The type indicator.
isType
public boolean isType(int t)
- Test if this fetch response is of the correct type.
- Parameters:
t
- The type to test against.
- Returns:
- True if the Fetch response contains the requested type information.
Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.