|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.mail.FetchProfile
public class FetchProfile
Specification of the facets of a message that are to be preloaded from the server.
| Nested Class Summary | |
|---|---|
static class |
FetchProfile.Item
Base class of all the facets of a message that can be fetched. |
| Constructor Summary | |
|---|---|
FetchProfile()
Create an empty fetch profile. |
|
| Method Summary | |
|---|---|
void |
add(FetchProfile.Item item)
Add the given item. |
void |
add(String header)
Add the specified header name. |
boolean |
contains(FetchProfile.Item item)
Indicates whether the fetch profile contains the specified item. |
boolean |
contains(String header)
Indicates whether the fetch profile contains the given header name. |
String[] |
getHeaderNames()
Get the names of the header fields in this profile. |
FetchProfile.Item[] |
getItems()
Get the items in this profile. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FetchProfile()
| Method Detail |
|---|
public void add(FetchProfile.Item item)
public void add(String header)
public boolean contains(FetchProfile.Item item)
public boolean contains(String header)
public FetchProfile.Item[] getItems()
public String[] getHeaderNames()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||