javax.mail
Class FetchProfile
public class FetchProfile
extends java.lang.Object
Specification of the facets of a message that are to be preloaded from
the server.
static class | FetchProfile.Item - Base class of all the facets of a message that can be fetched.
|
FetchProfile
public FetchProfile()
Create an empty fetch profile.
add
public void add(String header)
Add the specified header name.
contains
public boolean contains(String header)
Indicates whether the fetch profile contains the given header name.
contains
public boolean contains(FetchProfile.Item item)
Indicates whether the fetch profile contains the specified item.
getHeaderNames
public String[] getHeaderNames()
Get the names of the header fields in this profile.
© Copyright 2003, 2004
The Free Software Foundation, All rights reserved