- java.lang.Object
-
- org.eclipse.angus.mail.imap.protocol.FetchItem
-
public abstract class FetchItem extends java.lang.ObjectMetadata describing a FETCH item. Note that the "name" field MUST be in uppercase.- Since:
- JavaMail 1.4.6
-
-
Constructor Summary
Constructors Constructor Description FetchItem(java.lang.String name, jakarta.mail.FetchProfile.Item fetchProfileItem)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description jakarta.mail.FetchProfile.ItemgetFetchProfileItem()java.lang.StringgetName()abstract java.lang.ObjectparseItem(FetchResponse r)Parse the item into some kind of object appropriate for the item.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
-
getFetchProfileItem
public jakarta.mail.FetchProfile.Item getFetchProfileItem()
-
parseItem
public abstract java.lang.Object parseItem(FetchResponse r) throws ParsingException
Parse the item into some kind of object appropriate for the item. Note that the item name will have been parsed and skipped already.- Parameters:
r- the response- Returns:
- the fetch item
- Throws:
ParsingException- for parsing failures
-
-