javax.mail
public class FetchProfile extends Object
FetchProfile.Item.
| Nested Class Summary | |
|---|---|
| static class | FetchProfile.Item
Inner class that defines sets of headers that are commonly bundled together
in a FetchProfile. |
| Method Summary | |
|---|---|
| void | add(FetchProfile.Item item)
Add a predefined profile of headers.
|
| void | add(String header)
Add a specific header. |
| boolean | contains(FetchProfile.Item item)
Determine if the given profile item is already included. |
| boolean | contains(String header)
Determine if the specified header is already included. |
| String[] | getHeaderNames() Get the headers that have already been included. |
| FetchProfile.Item[] | getItems()
Get the profile items already included. |
Parameters: item the profile to add
Parameters: header the header whose value should be prefetched
Parameters: item the profile to check for
Returns: true if the profile item is already included
Parameters: header the header to check for
Returns: true if the header is already included
Returns: the headers already added to this profile
Returns: the items already added to this profile