- add(FetchProfile.Item) - Method in class javax.mail.FetchProfile
-
Add the given special item as one of the attributes to
be prefetched.
- add(String) - Method in class javax.mail.FetchProfile
-
Add the specified header-field to the list of attributes
to be prefetched.
- add(Flags.Flag) - Method in class javax.mail.Flags
-
Add the specified system flag to this Flags object.
- add(String) - Method in class javax.mail.Flags
-
Add the specified user flag to this Flags object.
- add(Flags) - Method in class javax.mail.Flags
-
Add all the flags in the given Flags object to this
Flags object.
- addBodyPart(BodyPart) - Method in class javax.mail.internet.MimeMultipart
-
Adds a Part to the multipart.
- addBodyPart(BodyPart, int) - Method in class javax.mail.internet.MimeMultipart
-
Adds a BodyPart at position index
.
- addBodyPart(BodyPart) - Method in class javax.mail.Multipart
-
Adds a Part to the multipart.
- addBodyPart(BodyPart, int) - Method in class javax.mail.Multipart
-
Adds a BodyPart at position index
.
- addConnectionListener(ConnectionListener) - Method in class javax.mail.Folder
-
Add a listener for Connection events on this Folder.
- addConnectionListener(ConnectionListener) - Method in class javax.mail.Service
-
Add a listener for Connection events on this service.
- ADDED - Static variable in class javax.mail.event.MessageCountEvent
-
The messages were added to their folder
- addFolderListener(FolderListener) - Method in class javax.mail.Folder
-
Add a listener for Folder events on this Folder.
- addFolderListener(FolderListener) - Method in class javax.mail.Store
-
Add a listener for Folder events on any Folder object
obtained from this Store.
- addFrom(Address[]) - Method in class javax.mail.internet.MimeMessage
-
Add the specified addresses to the existing "From" field.
- addFrom(Address[]) - Method in class javax.mail.Message
-
Add these addresses to the existing "From" attribute
- addHeader(String, String) - Method in class javax.mail.internet.InternetHeaders
-
Add a header with the specified name and value to the header list.
- addHeader(String, String) - Method in class javax.mail.internet.MimeBodyPart
-
Add this value to the existing values for this header_name.
- addHeader(String, String) - Method in class javax.mail.internet.MimeMessage
-
Add this value to the existing values for this header_name.
- addHeader(String, String) - Method in interface javax.mail.Part
-
Add this value to the existing values for this header_name.
- addHeaderLine(String) - Method in class javax.mail.internet.InternetHeaders
-
Add an RFC822 header line to the header store.
- addHeaderLine(String) - Method in class javax.mail.internet.MimeBodyPart
-
Add a header line to this body part
- addHeaderLine(String) - Method in class javax.mail.internet.MimeMessage
-
Add a raw RFC 822 header-line.
- addHeaderLine(String) - Method in interface javax.mail.internet.MimePart
-
Add a raw RFC822 header-line.
- addMessageChangedListener(MessageChangedListener) - Method in class javax.mail.Folder
-
Add a listener for MessageChanged events on this Folder.
- addMessageCountListener(MessageCountListener) - Method in class javax.mail.Folder
-
Add a listener for MessageCount events on this Folder.
- addProvider(Provider) - Method in class javax.mail.Session
-
Add a provider to the session.
- addRecipient(Message.RecipientType, Address) - Method in class javax.mail.Message
-
Add this recipient address to the existing ones of the given type.
- addRecipients(Message.RecipientType, Address[]) - Method in class javax.mail.internet.MimeMessage
-
Add the given addresses to the specified recipient type.
- addRecipients(Message.RecipientType, String) - Method in class javax.mail.internet.MimeMessage
-
Add the given addresses to the specified recipient type.
- addRecipients(Message.RecipientType, Address[]) - Method in class javax.mail.Message
-
Add these recipient addresses to the existing ones of the given type.
- Address - Class in javax.mail
-
This abstract class models the addresses in a message.
- Address() - Constructor for class javax.mail.Address
-
- address - Variable in class javax.mail.internet.InternetAddress
-
- address - Variable in class javax.mail.search.AddressTerm
-
The address.
- AddressException - Exception in javax.mail.internet
-
The exception thrown when a wrongly formatted address is encountered.
- AddressException() - Constructor for exception javax.mail.internet.AddressException
-
Constructs an AddressException with no detail message.
- AddressException(String) - Constructor for exception javax.mail.internet.AddressException
-
Constructs an AddressException with the specified detail message.
- AddressException(String, String) - Constructor for exception javax.mail.internet.AddressException
-
Constructs an AddressException with the specified detail message
and reference info.
- AddressException(String, String, int) - Constructor for exception javax.mail.internet.AddressException
-
Constructs an AddressException with the specified detail message
and reference info.
- AddressStringTerm - Class in javax.mail.search
-
This abstract class implements string comparisons for Message
addresses.
- AddressStringTerm(String) - Constructor for class javax.mail.search.AddressStringTerm
-
Constructor.
- AddressTerm - Class in javax.mail.search
-
This class implements Message Address comparisons.
- AddressTerm(Address) - Constructor for class javax.mail.search.AddressTerm
-
- addStoreListener(StoreListener) - Method in class javax.mail.Store
-
Add a listener for StoreEvents on this Store.
- addTransportListener(TransportListener) - Method in class javax.mail.Transport
-
Add a listener for Transport events.
- ALERT - Static variable in class javax.mail.event.StoreEvent
-
Indicates that this message is an ALERT.
- ALL - Static variable in class javax.mail.internet.MimeUtility
-
- allowEmpty - Variable in class javax.mail.internet.MimeMultipart
-
- AndTerm - Class in javax.mail.search
-
This class implements the logical AND operator on individual
SearchTerms.
- AndTerm(SearchTerm, SearchTerm) - Constructor for class javax.mail.search.AndTerm
-
Constructor that takes two terms.
- AndTerm(SearchTerm[]) - Constructor for class javax.mail.search.AndTerm
-
Constructor that takes an array of SearchTerms.
- ANSWERED - Static variable in class javax.mail.Flags.Flag
-
This message has been answered.
- appendMessages(Message[]) - Method in class javax.mail.Folder
-
Append given Messages to this folder.
- ATOM - Static variable in class javax.mail.internet.HeaderTokenizer.Token
-
Token type indicating an ATOM.
- attachFile(File) - Method in class javax.mail.internet.MimeBodyPart
-
Use the specified file to provide the data for this part.
- attachFile(String) - Method in class javax.mail.internet.MimeBodyPart
-
Use the specified file to provide the data for this part.
- attachFile(File, String, String) - Method in class javax.mail.internet.MimeBodyPart
-
Use the specified file with the specified Content-Type and
Content-Transfer-Encoding to provide the data for this part.
- attachFile(String, String, String) - Method in class javax.mail.internet.MimeBodyPart
-
Use the specified file with the specified Content-Type and
Content-Transfer-Encoding to provide the data for this part.
- ATTACHMENT - Static variable in interface javax.mail.Part
-
This part should be presented as an attachment.
- AuthenticationFailedException - Exception in javax.mail
-
This exception is thrown when the connect method on a Store or
Transport object fails due to an authentication failure (e.g.,
bad user name or password).
- AuthenticationFailedException() - Constructor for exception javax.mail.AuthenticationFailedException
-
Constructs an AuthenticationFailedException.
- AuthenticationFailedException(String) - Constructor for exception javax.mail.AuthenticationFailedException
-
Constructs an AuthenticationFailedException with the specified
detail message.
- AuthenticationFailedException(String, Exception) - Constructor for exception javax.mail.AuthenticationFailedException
-
Constructs an AuthenticationFailedException with the specified
detail message and embedded exception.
- Authenticator - Class in javax.mail
-
The class Authenticator represents an object that knows how to obtain
authentication for a network connection.
- Authenticator() - Constructor for class javax.mail.Authenticator
-
- available() - Method in class javax.mail.util.SharedFileInputStream
-
Returns the number of bytes that can be read from this input
stream without blocking.
- GE - Static variable in class javax.mail.search.ComparisonTerm
-
- get(String) - Method in class javax.mail.internet.ParameterList
-
Returns the value of the specified parameter.
- getAddress() - Method in class javax.mail.internet.InternetAddress
-
Get the email address.
- getAddress() - Method in class javax.mail.search.AddressTerm
-
Return the address to match with.
- getAllHeaderLines() - Method in class javax.mail.internet.InternetHeaders
-
Return all the header lines as an Enumeration of Strings.
- getAllHeaderLines() - Method in class javax.mail.internet.MimeBodyPart
-
Get all header lines as an Enumeration of Strings.
- getAllHeaderLines() - Method in class javax.mail.internet.MimeMessage
-
Get all header lines as an Enumeration of Strings.
- getAllHeaderLines() - Method in interface javax.mail.internet.MimePart
-
Get all header lines as an Enumeration of Strings.
- getAllHeaders() - Method in class javax.mail.internet.InternetHeaders
-
Return all the headers as an Enumeration of
Header
objects.
- getAllHeaders() - Method in class javax.mail.internet.MimeBodyPart
-
Return all the headers from this Message as an Enumeration of
Header objects.
- getAllHeaders() - Method in class javax.mail.internet.MimeMessage
-
Return all the headers from this Message as an enumeration
of Header objects.
- getAllHeaders() - Method in interface javax.mail.Part
-
Return all the headers from this part as an Enumeration of
Header objects.
- getAllRecipients() - Method in class javax.mail.internet.MimeMessage
-
Get all the recipient addresses for the message.
- getAllRecipients() - Method in class javax.mail.Message
-
Get all the recipient addresses for the message.
- getBaseType() - Method in class javax.mail.internet.ContentType
-
Return the MIME type string, without the parameters.
- getBodyPart(int) - Method in class javax.mail.internet.MimeMultipart
-
Get the specified BodyPart.
- getBodyPart(String) - Method in class javax.mail.internet.MimeMultipart
-
Get the MimeBodyPart referred to by the given ContentID (CID).
- getBodyPart(int) - Method in class javax.mail.Multipart
-
Get the specified Part.
- getBodyPart(int) - Method in interface javax.mail.MultipartDataSource
-
Get the specified Part.
- getCause() - Method in exception javax.mail.MessagingException
-
Overrides the getCause
method of Throwable
to return the next exception in the chain of nested exceptions.
- getClassName() - Method in class javax.mail.Provider
-
Returns name of the class that implements the protocol
- getComparison() - Method in class javax.mail.search.DateTerm
-
Return the type of comparison.
- getComparison() - Method in class javax.mail.search.IntegerComparisonTerm
-
Return the type of comparison.
- getContent() - Method in class javax.mail.internet.MimeBodyPart
-
Return the content as a Java object.
- getContent() - Method in class javax.mail.internet.MimeMessage
-
Return the content as a Java object.
- getContent() - Method in interface javax.mail.Part
-
Return the content as a Java object.
- getContentID() - Method in class javax.mail.internet.MimeBodyPart
-
Returns the value of the "Content-ID" header field.
- getContentID() - Method in class javax.mail.internet.MimeMessage
-
Returns the value of the "Content-ID" header field.
- getContentID() - Method in interface javax.mail.internet.MimePart
-
Get the Content-ID of this part.
- getContentLanguage() - Method in class javax.mail.internet.MimeBodyPart
-
Get the languages specified in the Content-Language header
of this MimePart.
- getContentLanguage() - Method in class javax.mail.internet.MimeMessage
-
Get the languages specified in the "Content-Language" header
field of this message.
- getContentLanguage() - Method in interface javax.mail.internet.MimePart
-
Get the language tags specified in the Content-Language header
of this MimePart.
- getContentMD5() - Method in class javax.mail.internet.MimeBodyPart
-
Return the value of the "Content-MD5" header field.
- getContentMD5() - Method in class javax.mail.internet.MimeMessage
-
Return the value of the "Content-MD5" header field.
- getContentMD5() - Method in interface javax.mail.internet.MimePart
-
Get the Content-MD5 digest of this part.
- getContentStream() - Method in class javax.mail.internet.MimeBodyPart
-
Produce the raw bytes of the content.
- getContentStream() - Method in class javax.mail.internet.MimeMessage
-
Produce the raw bytes of the content.
- getContentType() - Method in class javax.mail.internet.MimeBodyPart
-
Returns the value of the RFC 822 "Content-Type" header field.
- getContentType() - Method in class javax.mail.internet.MimeMessage
-
Returns the value of the RFC 822 "Content-Type" header field.
- getContentType() - Method in class javax.mail.internet.MimePartDataSource
-
Returns the content-type of this DataSource.
- getContentType() - Method in class javax.mail.Multipart
-
Return the content-type of this Multipart.
- getContentType() - Method in interface javax.mail.Part
-
Returns the Content-Type of the content of this part.
- getContentType() - Method in class javax.mail.util.ByteArrayDataSource
-
Get the MIME content type of the data.
- getCount() - Method in class javax.mail.internet.MimeMultipart
-
Return the number of enclosed BodyPart objects.
- getCount() - Method in class javax.mail.Multipart
-
Return the number of enclosed BodyPart objects.
- getCount() - Method in interface javax.mail.MultipartDataSource
-
Return the number of enclosed BodyPart objects.
- getDataHandler() - Method in class javax.mail.internet.MimeBodyPart
-
Return a DataHandler for this body part's content.
- getDataHandler() - Method in class javax.mail.internet.MimeMessage
-
Return a DataHandler for this Message's content.
- getDataHandler() - Method in interface javax.mail.Part
-
Return a DataHandler for the content within this part.
- getDate() - Method in class javax.mail.search.DateTerm
-
Return the Date to compare with.
- getDebug() - Method in class javax.mail.Session
-
Get the debug setting for this Session.
- getDebugOut() - Method in class javax.mail.Session
-
Returns the stream to be used for debugging output.
- getDefaultFolder() - Method in class javax.mail.Store
-
Returns a Folder object that represents the 'root' of
the default namespace presented to the user by the Store.
- getDefaultInstance(Properties, Authenticator) - Static method in class javax.mail.Session
-
Get the default Session object.
- getDefaultInstance(Properties) - Static method in class javax.mail.Session
-
Get the default Session object.
- getDefaultJavaCharset() - Static method in class javax.mail.internet.MimeUtility
-
Get the default charset corresponding to the system's current
default locale.
- getDefaultUserName() - Method in class javax.mail.Authenticator
-
- getDeletedMessageCount() - Method in class javax.mail.Folder
-
Get the number of deleted messages in this Folder.
- getDescription() - Method in class javax.mail.internet.MimeBodyPart
-
Returns the "Content-Description" header field of this body part.
- getDescription() - Method in class javax.mail.internet.MimeMessage
-
Returns the "Content-Description" header field of this Message.
- getDescription() - Method in interface javax.mail.Part
-
Return a description String for this part.
- getDisposition() - Method in class javax.mail.internet.ContentDisposition
-
Return the disposition value.
- getDisposition() - Method in class javax.mail.internet.MimeBodyPart
-
Returns the value of the "Content-Disposition" header field.
- getDisposition() - Method in class javax.mail.internet.MimeMessage
-
Returns the value of the "Content-Disposition" header field.
- getDisposition() - Method in interface javax.mail.Part
-
Return the disposition of this part.
- getEncoding() - Method in interface javax.mail.EncodingAware
-
Return the MIME Content-Transfer-Encoding to use for this data,
or null to indicate that an appropriate value should be chosen
by the caller.
- getEncoding() - Method in class javax.mail.internet.MimeBodyPart
-
Returns the content transfer encoding from the
"Content-Transfer-Encoding" header
field.
- getEncoding() - Method in class javax.mail.internet.MimeMessage
-
Returns the content transfer encoding from the
"Content-Transfer-Encoding" header
field.
- getEncoding() - Method in interface javax.mail.internet.MimePart
-
Get the transfer encoding of this part.
- getEncoding(DataSource) - Static method in class javax.mail.internet.MimeUtility
-
Get the Content-Transfer-Encoding that should be applied
to the input stream of this DataSource, to make it mail-safe.
- getEncoding(DataHandler) - Static method in class javax.mail.internet.MimeUtility
-
Same as getEncoding(DataSource)
except that instead
of reading the data from an InputStream
it uses the
writeTo
method to examine the data.
- getEncoding() - Method in class javax.mail.internet.PreencodedMimeBodyPart
-
Returns the content transfer encoding specified when
this object was created.
- getFile() - Method in class javax.mail.URLName
-
Returns the file name of this URLName.
- getFileName() - Method in class javax.mail.internet.MimeBodyPart
-
Get the filename associated with this body part.
- getFileName() - Method in class javax.mail.internet.MimeMessage
-
Get the filename associated with this Message.
- getFileName() - Method in interface javax.mail.Part
-
Get the filename associated with this part, if possible.
- getFlags() - Method in class javax.mail.internet.MimeMessage
-
Return a Flags
object containing the flags for
this message.
- getFlags() - Method in class javax.mail.Message
-
Returns a Flags
object containing the flags for
this message.
- getFlags() - Method in class javax.mail.search.FlagTerm
-
Return the Flags to test.
- getFolder() - Method in class javax.mail.event.FolderEvent
-
Return the affected folder.
- getFolder(String) - Method in class javax.mail.Folder
-
Return the Folder object corresponding to the given name.
- getFolder() - Method in exception javax.mail.FolderClosedException
-
Returns the dead Folder object
- getFolder() - Method in exception javax.mail.FolderNotFoundException
-
Returns the offending Folder object.
- getFolder() - Method in class javax.mail.Message
-
Get the folder from which this message was obtained.
- getFolder() - Method in exception javax.mail.ReadOnlyFolderException
-
Returns the dead Folder object.
- getFolder(URLName) - Method in class javax.mail.Session
-
Get a closed Folder object for the given URLName.
- getFolder(String) - Method in class javax.mail.Store
-
Return the Folder object corresponding to the given name.
- getFolder(URLName) - Method in class javax.mail.Store
-
Return a closed Folder object, corresponding to the given
URLName.
- getFrom() - Method in class javax.mail.internet.MimeMessage
-
Returns the value of the RFC 822 "From" header fields.
- getFrom() - Method in class javax.mail.Message
-
Returns the "From" attribute.
- getFullName() - Method in class javax.mail.Folder
-
Returns the full name of this Folder.
- getGroup(boolean) - Method in class javax.mail.internet.InternetAddress
-
Return the members of a group address.
- getHeader(String) - Method in class javax.mail.internet.InternetHeaders
-
Return all the values for the specified header.
- getHeader(String, String) - Method in class javax.mail.internet.InternetHeaders
-
Get all the headers for this header name, returned as a single
String, with headers separated by the delimiter.
- getHeader(String) - Method in class javax.mail.internet.MimeBodyPart
-
Get all the headers for this header_name.
- getHeader(String, String) - Method in class javax.mail.internet.MimeBodyPart
-
Get all the headers for this header name, returned as a single
String, with headers separated by the delimiter.
- getHeader(String) - Method in class javax.mail.internet.MimeMessage
-
Get all the headers for this header_name.
- getHeader(String, String) - Method in class javax.mail.internet.MimeMessage
-
Get all the headers for this header name, returned as a single
String, with headers separated by the delimiter.
- getHeader(String, String) - Method in interface javax.mail.internet.MimePart
-
Get the values of all header fields available for this header,
returned as a single String, with the values separated by the
delimiter.
- getHeader(String) - Method in interface javax.mail.Part
-
Get all the headers for this header name.
- getHeaderName() - Method in class javax.mail.search.HeaderTerm
-
Return the name of the header to compare with.
- getHeaderNames() - Method in class javax.mail.FetchProfile
-
Get the names of the header-fields set in this profile.
- getHost() - Method in class javax.mail.internet.NewsAddress
-
Get the host.
- getHost() - Method in class javax.mail.URLName
-
Returns the host of this URLName.
- getIgnoreCase() - Method in class javax.mail.search.StringTerm
-
Return true if we should ignore case when matching.
- getInputStream() - Method in class javax.mail.internet.MimeBodyPart
-
Return a decoded input stream for this body part's "content".
- getInputStream() - Method in class javax.mail.internet.MimeMessage
-
Return a decoded input stream for this Message's "content".
- getInputStream() - Method in class javax.mail.internet.MimePartDataSource
-
Returns an input stream from this MimePart.
- getInputStream() - Method in interface javax.mail.Part
-
Return an input stream for this part's "content".
- getInputStream() - Method in class javax.mail.util.ByteArrayDataSource
-
Return an InputStream for the data.
- getInstance(Properties, Authenticator) - Static method in class javax.mail.Session
-
Get a new Session object.
- getInstance(Properties) - Static method in class javax.mail.Session
-
Get a new Session object.
- getInvalidAddresses() - Method in class javax.mail.event.TransportEvent
-
Return the addresses to which this message could not be sent.
- getInvalidAddresses() - Method in exception javax.mail.SendFailedException
-
Return the addresses to which this message could not be sent.
- getItems() - Method in class javax.mail.FetchProfile
-
Get the items set in this profile.
- getLineCount() - Method in class javax.mail.internet.MimeBodyPart
-
Return the number of lines for the content of this Part.
- getLineCount() - Method in class javax.mail.internet.MimeMessage
-
Return the number of lines for the content of this message.
- getLineCount() - Method in interface javax.mail.Part
-
Return the number of lines in the content of this part.
- getLocalAddress(Session) - Static method in class javax.mail.internet.InternetAddress
-
Return an InternetAddress object representing the current user.
- getMatchingHeaderLines(String[]) - Method in class javax.mail.internet.InternetHeaders
-
Return all matching header lines as an Enumeration of Strings.
- getMatchingHeaderLines(String[]) - Method in class javax.mail.internet.MimeBodyPart
-
Get matching header lines as an Enumeration of Strings.
- getMatchingHeaderLines(String[]) - Method in class javax.mail.internet.MimeMessage
-
Get matching header lines as an Enumeration of Strings.
- getMatchingHeaderLines(String[]) - Method in interface javax.mail.internet.MimePart
-
Get matching header lines as an Enumeration of Strings.
- getMatchingHeaders(String[]) - Method in class javax.mail.internet.InternetHeaders
-
Return all matching
Header
objects.
- getMatchingHeaders(String[]) - Method in class javax.mail.internet.MimeBodyPart
-
Return matching headers from this Message as an Enumeration of
Header objects.
- getMatchingHeaders(String[]) - Method in class javax.mail.internet.MimeMessage
-
Return matching headers from this Message as an Enumeration of
Header objects.
- getMatchingHeaders(String[]) - Method in interface javax.mail.Part
-
Return matching headers from this part as an Enumeration of
Header objects.
- getMessage() - Method in class javax.mail.event.MessageChangedEvent
-
Return the changed Message.
- getMessage() - Method in class javax.mail.event.StoreEvent
-
Get the message from the Store.
- getMessage() - Method in class javax.mail.event.TransportEvent
-
Get the Message object associated with this Transport Event.
- getMessage(int) - Method in class javax.mail.Folder
-
Get the Message object corresponding to the given message
number.
- getMessage() - Method in class javax.mail.MessageContext
-
Return the Message that contains the content.
- getMessageByUID(long) - Method in interface javax.mail.UIDFolder
-
Get the Message corresponding to the given UID.
- getMessageChangeType() - Method in class javax.mail.event.MessageChangedEvent
-
Return the type of this event.
- getMessageContext() - Method in class javax.mail.internet.MimePartDataSource
-
Return the MessageContext
for the current part.
- getMessageContext() - Method in interface javax.mail.MessageAware
-
Return the message context.
- getMessageCount() - Method in class javax.mail.Folder
-
Get total number of messages in this Folder.
- getMessageID() - Method in class javax.mail.internet.MimeMessage
-
Returns the value of the "Message-ID" header field.
- getMessageNumber() - Method in class javax.mail.Message
-
Get the Message number for this Message.
- getMessages() - Method in class javax.mail.event.MessageCountEvent
-
Return the array of messages added or removed.
- getMessages(int, int) - Method in class javax.mail.Folder
-
Get the Message objects for message numbers ranging from start
through end, both start and end inclusive.
- getMessages(int[]) - Method in class javax.mail.Folder
-
Get the Message objects for message numbers specified in
the array.
- getMessages() - Method in class javax.mail.Folder
-
Get all Message objects from this Folder.
- getMessagesByUID(long, long) - Method in interface javax.mail.UIDFolder
-
Get the Messages specified by the given range.
- getMessagesByUID(long[]) - Method in interface javax.mail.UIDFolder
-
Get the Messages specified by the given array of UIDs.
- getMessageType() - Method in class javax.mail.event.StoreEvent
-
Return the type of this event.
- getMode() - Method in class javax.mail.Folder
-
Return the open mode of this folder.
- getName() - Method in class javax.mail.Folder
-
Returns the name of this Folder.
- getName() - Method in class javax.mail.Header
-
Returns the name of this header.
- getName() - Method in class javax.mail.internet.MimePartDataSource
-
DataSource method to return a name.
- getName() - Method in class javax.mail.util.ByteArrayDataSource
-
Get the name of the data.
- getNames() - Method in class javax.mail.internet.ParameterList
-
Return an enumeration of the names of all parameters in this
list.
- getNewFolder() - Method in class javax.mail.event.FolderEvent
-
If this event indicates that a folder is renamed, (i.e, the event type
is RENAMED), then this method returns the Folder object representing the
new name.
- getNewMessageCount() - Method in class javax.mail.Folder
-
Get the number of new messages in this Folder.
- getNewsgroup() - Method in class javax.mail.internet.NewsAddress
-
Get the newsgroup.
- getNextException() - Method in exception javax.mail.MessagingException
-
Get the next exception chained to this one.
- getNonMatchingHeaderLines(String[]) - Method in class javax.mail.internet.InternetHeaders
-
Return all non-matching header lines
- getNonMatchingHeaderLines(String[]) - Method in class javax.mail.internet.MimeBodyPart
-
Get non-matching header lines as an Enumeration of Strings.
- getNonMatchingHeaderLines(String[]) - Method in class javax.mail.internet.MimeMessage
-
Get non-matching header lines as an Enumeration of Strings.
- getNonMatchingHeaderLines(String[]) - Method in interface javax.mail.internet.MimePart
-
Get non-matching header lines as an Enumeration of Strings.
- getNonMatchingHeaders(String[]) - Method in class javax.mail.internet.InternetHeaders
-
Return all non-matching
Header
objects.
- getNonMatchingHeaders(String[]) - Method in class javax.mail.internet.MimeBodyPart
-
Return non-matching headers from this Message as an
Enumeration of Header objects.
- getNonMatchingHeaders(String[]) - Method in class javax.mail.internet.MimeMessage
-
Return non-matching headers from this Message as an
Enumeration of Header objects.
- getNonMatchingHeaders(String[]) - Method in interface javax.mail.Part
-
Return non-matching headers from this envelope as an Enumeration
of Header objects.
- getNumber() - Method in class javax.mail.search.IntegerComparisonTerm
-
Return the number to compare with.
- getOutputStream() - Method in class javax.mail.internet.MimePartDataSource
-
DataSource method to return an output stream.
- getOutputStream() - Method in class javax.mail.util.ByteArrayDataSource
-
Return an OutputStream for the data.
- getParameter(String) - Method in class javax.mail.internet.ContentDisposition
-
Return the specified parameter value.
- getParameter(String) - Method in class javax.mail.internet.ContentType
-
Return the specified parameter value.
- getParameterList() - Method in class javax.mail.internet.ContentDisposition
-
Return a ParameterList object that holds all the available
parameters.
- getParameterList() - Method in class javax.mail.internet.ContentType
-
Return a ParameterList object that holds all the available
parameters.
- getParent() - Method in class javax.mail.BodyPart
-
Return the containing Multipart
object,
or null
if not known.
- getParent() - Method in class javax.mail.Folder
-
Returns the parent folder of this folder.
- getParent() - Method in class javax.mail.Multipart
-
Return the Part
that contains this Multipart
object, or null
if not known.
- getPart() - Method in class javax.mail.MessageContext
-
Return the Part that contains the content.
- getPassword() - Method in class javax.mail.PasswordAuthentication
-
- getPassword() - Method in class javax.mail.URLName
-
Returns the password of this URLName.
- getPasswordAuthentication() - Method in class javax.mail.Authenticator
-
Called when password authentication is needed.
- getPasswordAuthentication(URLName) - Method in class javax.mail.Session
-
Return any saved PasswordAuthentication for this (store or transport)
URLName.
- getPattern() - Method in class javax.mail.search.StringTerm
-
Return the string to match with.
- getPermanentFlags() - Method in class javax.mail.Folder
-
Get the permanent flags supported by this Folder.
- getPersonal() - Method in class javax.mail.internet.InternetAddress
-
Get the personal name.
- getPersonalNamespaces() - Method in class javax.mail.Store
-
Return a set of folders representing the personal namespaces
for the current user.
- getPort() - Method in class javax.mail.URLName
-
Returns the port number of this URLName.
- getPos() - Method in exception javax.mail.internet.AddressException
-
Get the position with the reference string where the error was
detected (-1 if not relevant).
- getPosition() - Method in interface javax.mail.internet.SharedInputStream
-
Return the current position in the InputStream, as an
offset from the beginning of the InputStream.
- getPosition() - Method in class javax.mail.util.SharedByteArrayInputStream
-
Return the current position in the InputStream, as an
offset from the beginning of the InputStream.
- getPosition() - Method in class javax.mail.util.SharedFileInputStream
-
Return the current position in the InputStream, as an
offset from the beginning of the InputStream.
- getPreamble() - Method in class javax.mail.internet.MimeMultipart
-
Get the preamble text, if any, that appears before the
first body part of this multipart.
- getPrimaryType() - Method in class javax.mail.internet.ContentType
-
Return the primary type.
- getProperties() - Method in class javax.mail.Session
-
Returns the Properties object associated with this Session
- getProperty(String) - Method in class javax.mail.Session
-
Returns the value of the specified property.
- getProtocol() - Method in class javax.mail.Provider
-
Returns the protocol supported by this Provider
- getProtocol() - Method in class javax.mail.URLName
-
Returns the protocol of this URLName.
- getProvider(String) - Method in class javax.mail.Session
-
Returns the default Provider for the protocol
specified.
- getProviders() - Method in class javax.mail.Session
-
This method returns an array of all the implementations installed
via the javamail.[default.]providers files that can
be loaded using the ClassLoader available to this application.
- getQuota(String) - Method in interface javax.mail.QuotaAwareStore
-
Get the quotas for the named folder.
- getRawInputStream() - Method in class javax.mail.internet.MimeBodyPart
-
Return an InputStream to the raw data with any Content-Transfer-Encoding
intact.
- getRawInputStream() - Method in class javax.mail.internet.MimeMessage
-
Return an InputStream to the raw data with any Content-Transfer-Encoding
intact.
- getReceivedDate() - Method in class javax.mail.internet.MimeMessage
-
Returns the Date on this message was received.
- getReceivedDate() - Method in class javax.mail.Message
-
Get the date this message was received.
- getRecipients(Message.RecipientType) - Method in class javax.mail.internet.MimeMessage
-
Returns the recepients specified by the type.
- getRecipients(Message.RecipientType) - Method in class javax.mail.Message
-
Get all the recipient addresses of the given type.
- getRecipientType() - Method in class javax.mail.search.RecipientStringTerm
-
Return the type of recipient to match with.
- getRecipientType() - Method in class javax.mail.search.RecipientTerm
-
Return the type of recipient to match with.
- getRef() - Method in exception javax.mail.internet.AddressException
-
Get the string that was being parsed when the error was detected
(null if not relevant).
- getRef() - Method in class javax.mail.URLName
-
Returns the reference of this URLName.
- getRemainder() - Method in class javax.mail.internet.HeaderTokenizer
-
Return the rest of the Header.
- getReplyTo() - Method in class javax.mail.internet.MimeMessage
-
Return the value of the RFC 822 "Reply-To" header field.
- getReplyTo() - Method in class javax.mail.Message
-
Get the addresses to which replies should be directed.
- getRequestingPort() - Method in class javax.mail.Authenticator
-
- getRequestingPrompt() - Method in class javax.mail.Authenticator
-
- getRequestingProtocol() - Method in class javax.mail.Authenticator
-
Give the protocol that's requesting the connection.
- getRequestingSite() - Method in class javax.mail.Authenticator
-
- getSender() - Method in class javax.mail.internet.MimeMessage
-
Returns the value of the RFC 822 "Sender" header field.
- getSentDate() - Method in class javax.mail.internet.MimeMessage
-
Returns the value of the RFC 822 "Date" field.
- getSentDate() - Method in class javax.mail.Message
-
Get the date this message was sent.
- getSeparator() - Method in class javax.mail.Folder
-
Return the delimiter character that separates this Folder's pathname
from the names of immediate subfolders.
- getSession() - Method in class javax.mail.Message
-
Return the Session used when this message was created.
- getSession() - Method in class javax.mail.MessageContext
-
Return the Session we're operating in.
- getSharedNamespaces() - Method in class javax.mail.Store
-
Return a set of folders representing the shared namespaces.
- getSize() - Method in class javax.mail.internet.MimeBodyPart
-
Return the size of the content of this body part in bytes.
- getSize() - Method in class javax.mail.internet.MimeMessage
-
Return the size of the content of this message in bytes.
- getSize() - Method in interface javax.mail.Part
-
Return the size of the content of this part in bytes.
- getStore() - Method in class javax.mail.Folder
-
Returns the Store that owns this Folder object.
- getStore() - Method in class javax.mail.Session
-
Get a Store object that implements this user's desired Store
protocol.
- getStore(String) - Method in class javax.mail.Session
-
Get a Store object that implements the specified protocol.
- getStore(URLName) - Method in class javax.mail.Session
-
Get a Store object for the given URLName.
- getStore(Provider) - Method in class javax.mail.Session
-
Get an instance of the store specified by Provider.
- getStore() - Method in exception javax.mail.StoreClosedException
-
Returns the dead Store object
- getSubject() - Method in class javax.mail.internet.MimeMessage
-
Returns the value of the "Subject" header field.
- getSubject() - Method in class javax.mail.Message
-
Get the subject of this message.
- getSubType() - Method in class javax.mail.internet.ContentType
-
Return the subType.
- getSystemFlags() - Method in class javax.mail.Flags
-
Return all the system flags in this Flags object.
- getTerm() - Method in class javax.mail.search.NotTerm
-
Return the term to negate.
- getTerms() - Method in class javax.mail.search.AndTerm
-
Return the search terms.
- getTerms() - Method in class javax.mail.search.OrTerm
-
Return the search terms.
- getTestSet() - Method in class javax.mail.search.FlagTerm
-
Return true if testing whether the flags are set.
- getTransport() - Method in class javax.mail.Session
-
Get a Transport object that implements this user's desired
Transport protcol.
- getTransport(String) - Method in class javax.mail.Session
-
Get a Transport object that implements the specified protocol.
- getTransport(URLName) - Method in class javax.mail.Session
-
Get a Transport object for the given URLName.
- getTransport(Provider) - Method in class javax.mail.Session
-
Get an instance of the transport specified in the Provider.
- getTransport(Address) - Method in class javax.mail.Session
-
Get a Transport object that can transport a Message of the
specified address type.
- getType() - Method in class javax.mail.Address
-
Return a type string that identifies this address type.
- getType() - Method in class javax.mail.event.ConnectionEvent
-
Return the type of this event
- getType() - Method in class javax.mail.event.FolderEvent
-
Return the type of this event.
- getType() - Method in class javax.mail.event.MessageCountEvent
-
Return the type of this event.
- getType() - Method in class javax.mail.event.TransportEvent
-
Return the type of this event.
- getType() - Method in class javax.mail.Folder
-
Returns the type of this Folder, that is, whether this folder can hold
messages or subfolders or both.
- getType() - Method in class javax.mail.internet.HeaderTokenizer.Token
-
Return the type of the token.
- getType() - Method in class javax.mail.internet.InternetAddress
-
Return the type of this address.
- getType() - Method in class javax.mail.internet.NewsAddress
-
Return the type of this address.
- getType() - Method in class javax.mail.Provider
-
Returns the type of this Provider
- getUID(Message) - Method in interface javax.mail.UIDFolder
-
Get the UID for the specified message.
- getUIDValidity() - Method in interface javax.mail.UIDFolder
-
Returns the UIDValidity value associated with this folder.
- getUnreadMessageCount() - Method in class javax.mail.Folder
-
Get the total number of unread messages in this Folder.
- getURL() - Method in class javax.mail.URLName
-
Constructs a URL from the URLName.
- getURLName() - Method in class javax.mail.Folder
-
Return a URLName representing this folder.
- getURLName() - Method in class javax.mail.Service
-
Return a URLName representing this service.
- getUserFlags() - Method in class javax.mail.Flags
-
Return all the user flags in this Flags object.
- getUserName() - Method in class javax.mail.PasswordAuthentication
-
- getUsername() - Method in class javax.mail.URLName
-
Returns the user name of this URLName.
- getUserNamespaces(String) - Method in class javax.mail.Store
-
Return a set of folders representing the namespaces for
user
.
- getValidSentAddresses() - Method in class javax.mail.event.TransportEvent
-
Return the addresses to which this message was sent succesfully.
- getValidSentAddresses() - Method in exception javax.mail.SendFailedException
-
Return the addresses to which this message was sent succesfully.
- getValidUnsentAddresses() - Method in class javax.mail.event.TransportEvent
-
Return the addresses that are valid but to which this message
was not sent.
- getValidUnsentAddresses() - Method in exception javax.mail.SendFailedException
-
Return the addresses that are valid but to which this message
was not sent.
- getValue() - Method in class javax.mail.Header
-
Returns the value of this header.
- getValue() - Method in class javax.mail.internet.HeaderTokenizer.Token
-
Returns the value of the token just read.
- getValue() - Method in class javax.mail.internet.InternetHeaders.InternetHeader
-
Return the "value" part of the header line.
- getVendor() - Method in class javax.mail.Provider
-
Returns name of vendor associated with this implementation or null
- getVersion() - Method in class javax.mail.Provider
-
Returns version of this implementation or null if no version
- GT - Static variable in class javax.mail.search.ComparisonTerm
-
- MailDateFormat - Class in javax.mail.internet
-
Formats and parses date specification based on
RFC 2822.
- MailDateFormat() - Constructor for class javax.mail.internet.MailDateFormat
-
- MailEvent - Class in javax.mail.event
-
Common base class for mail events, defining the dispatch method.
- MailEvent(Object) - Constructor for class javax.mail.event.MailEvent
-
- MailSessionDefinition - Annotation Type in javax.mail
-
Annotation used by Java EE applications to define a MailSession
to be registered with JNDI.
- MailSessionDefinitions - Annotation Type in javax.mail
-
Declares one or more MailSessionDefinition
annotations.
- mark(int) - Method in class javax.mail.util.SharedFileInputStream
-
See the general contract of the mark
method of InputStream
.
- markSupported() - Method in class javax.mail.util.SharedFileInputStream
-
Tests if this input stream supports the mark
and reset
methods.
- match(ContentType) - Method in class javax.mail.internet.ContentType
-
Match with the specified ContentType object.
- match(String) - Method in class javax.mail.internet.ContentType
-
Match with the specified content-type string.
- match(SearchTerm) - Method in class javax.mail.Message
-
Apply the specified Search criterion to this message.
- match(Address) - Method in class javax.mail.search.AddressStringTerm
-
Check whether the address pattern specified in the constructor is
a substring of the string representation of the given Address
object.
- match(Address) - Method in class javax.mail.search.AddressTerm
-
Match against the argument Address.
- match(Message) - Method in class javax.mail.search.AndTerm
-
The AND operation.
- match(Message) - Method in class javax.mail.search.BodyTerm
-
The match method.
- match(Date) - Method in class javax.mail.search.DateTerm
-
The date comparison method.
- match(Message) - Method in class javax.mail.search.FlagTerm
-
The comparison method.
- match(Message) - Method in class javax.mail.search.FromStringTerm
-
Check whether the address string specified in the constructor is
a substring of the From address of this Message.
- match(Message) - Method in class javax.mail.search.FromTerm
-
The address comparator.
- match(Message) - Method in class javax.mail.search.HeaderTerm
-
The header match method.
- match(int) - Method in class javax.mail.search.IntegerComparisonTerm
-
- match(Message) - Method in class javax.mail.search.MessageIDTerm
-
The match method.
- match(Message) - Method in class javax.mail.search.MessageNumberTerm
-
The match method.
- match(Message) - Method in class javax.mail.search.NotTerm
-
- match(Message) - Method in class javax.mail.search.OrTerm
-
The OR operation.
- match(Message) - Method in class javax.mail.search.ReceivedDateTerm
-
The match method.
- match(Message) - Method in class javax.mail.search.RecipientStringTerm
-
Check whether the address specified in the constructor is
a substring of the recipient address of this Message.
- match(Message) - Method in class javax.mail.search.RecipientTerm
-
The match method.
- match(Message) - Method in class javax.mail.search.SearchTerm
-
This method applies a specific match criterion to the given
message and returns the result.
- match(Message) - Method in class javax.mail.search.SentDateTerm
-
The match method.
- match(Message) - Method in class javax.mail.search.SizeTerm
-
The match method.
- match(String) - Method in class javax.mail.search.StringTerm
-
- match(Message) - Method in class javax.mail.search.SubjectTerm
-
The match method.
- message - Variable in class javax.mail.event.StoreEvent
-
The message text to be presented to the user.
- Message - Class in javax.mail
-
This class models an email message.
- Message() - Constructor for class javax.mail.Message
-
No-arg version of the constructor.
- Message(Folder, int) - Constructor for class javax.mail.Message
-
Constructor that takes a Folder and a message number.
- Message(Session) - Constructor for class javax.mail.Message
-
Constructor that takes a Session.
- Message.RecipientType - Class in javax.mail
-
This inner class defines the types of recipients allowed by
the Message class.
- Message.RecipientType(String) - Constructor for class javax.mail.Message.RecipientType
-
Constructor for use by subclasses.
- MESSAGE_DELIVERED - Static variable in class javax.mail.event.TransportEvent
-
Message has been successfully delivered to all recipients by the
transport firing this event.
- MESSAGE_NOT_DELIVERED - Static variable in class javax.mail.event.TransportEvent
-
Message was not sent for some reason.
- MESSAGE_PARTIALLY_DELIVERED - Static variable in class javax.mail.event.TransportEvent
-
Message was successfully sent to some recipients but not to all.
- MessageAware - Interface in javax.mail
-
An interface optionally implemented by DataSources
to
supply information to a DataContentHandler
about the
message context in which the data content object is operating.
- messageChanged(MessageChangedEvent) - Method in interface javax.mail.event.MessageChangedListener
-
Invoked when a message is changed.
- MessageChangedEvent - Class in javax.mail.event
-
This class models Message change events.
- MessageChangedEvent(Object, int, Message) - Constructor for class javax.mail.event.MessageChangedEvent
-
Constructor.
- MessageChangedListener - Interface in javax.mail.event
-
This is the Listener interface for MessageChanged events
- MessageContext - Class in javax.mail
-
The context in which a piece of Message content is contained.
- MessageContext(Part) - Constructor for class javax.mail.MessageContext
-
Create a MessageContext object describing the context of the given Part.
- MessageCountAdapter - Class in javax.mail.event
-
The adapter which receives MessageCount events.
- MessageCountAdapter() - Constructor for class javax.mail.event.MessageCountAdapter
-
- MessageCountEvent - Class in javax.mail.event
-
This class notifies changes in the number of messages in a folder.
- MessageCountEvent(Folder, int, boolean, Message[]) - Constructor for class javax.mail.event.MessageCountEvent
-
Constructor.
- MessageCountListener - Interface in javax.mail.event
-
This is the Listener interface for MessageCount events.
- messageDelivered(TransportEvent) - Method in class javax.mail.event.TransportAdapter
-
- messageDelivered(TransportEvent) - Method in interface javax.mail.event.TransportListener
-
Invoked when a Message is succesfully delivered.
- MessageIDTerm - Class in javax.mail.search
-
This term models the RFC822 "MessageId" - a message-id for
Internet messages that is supposed to be unique per message.
- MessageIDTerm(String) - Constructor for class javax.mail.search.MessageIDTerm
-
Constructor.
- messageNotDelivered(TransportEvent) - Method in class javax.mail.event.TransportAdapter
-
- messageNotDelivered(TransportEvent) - Method in interface javax.mail.event.TransportListener
-
Invoked when a Message is not delivered.
- MessageNumberTerm - Class in javax.mail.search
-
This class implements comparisons for Message numbers.
- MessageNumberTerm(int) - Constructor for class javax.mail.search.MessageNumberTerm
-
Constructor.
- messagePartiallyDelivered(TransportEvent) - Method in class javax.mail.event.TransportAdapter
-
- messagePartiallyDelivered(TransportEvent) - Method in interface javax.mail.event.TransportListener
-
Invoked when a Message is partially delivered.
- MessageRemovedException - Exception in javax.mail
-
The exception thrown when an invalid method is invoked on an expunged
Message.
- MessageRemovedException() - Constructor for exception javax.mail.MessageRemovedException
-
Constructs a MessageRemovedException with no detail message.
- MessageRemovedException(String) - Constructor for exception javax.mail.MessageRemovedException
-
Constructs a MessageRemovedException with the specified
detail message.
- MessageRemovedException(String, Exception) - Constructor for exception javax.mail.MessageRemovedException
-
Constructs a MessageRemovedException with the specified
detail message and embedded exception.
- messagesAdded(MessageCountEvent) - Method in class javax.mail.event.MessageCountAdapter
-
- messagesAdded(MessageCountEvent) - Method in interface javax.mail.event.MessageCountListener
-
Invoked when messages are added into a folder.
- messagesRemoved(MessageCountEvent) - Method in class javax.mail.event.MessageCountAdapter
-
- messagesRemoved(MessageCountEvent) - Method in interface javax.mail.event.MessageCountListener
-
Invoked when messages are removed (expunged) from a folder.
- MessagingException - Exception in javax.mail
-
The base class for all exceptions thrown by the Messaging classes
- MessagingException() - Constructor for exception javax.mail.MessagingException
-
Constructs a MessagingException with no detail message.
- MessagingException(String) - Constructor for exception javax.mail.MessagingException
-
Constructs a MessagingException with the specified detail message.
- MessagingException(String, Exception) - Constructor for exception javax.mail.MessagingException
-
Constructs a MessagingException with the specified
Exception and detail message.
- MethodNotSupportedException - Exception in javax.mail
-
The exception thrown when a method is not supported by the
implementation
- MethodNotSupportedException() - Constructor for exception javax.mail.MethodNotSupportedException
-
Constructs a MethodNotSupportedException with no detail message.
- MethodNotSupportedException(String) - Constructor for exception javax.mail.MethodNotSupportedException
-
Constructs a MethodNotSupportedException with the specified
detail message.
- MethodNotSupportedException(String, Exception) - Constructor for exception javax.mail.MethodNotSupportedException
-
Constructs a MethodNotSupportedException with the specified
detail message and embedded exception.
- MIME - Static variable in class javax.mail.internet.HeaderTokenizer
-
MIME specials
- MimeBodyPart - Class in javax.mail.internet
-
This class represents a MIME body part.
- MimeBodyPart() - Constructor for class javax.mail.internet.MimeBodyPart
-
An empty MimeBodyPart object is created.
- MimeBodyPart(InputStream) - Constructor for class javax.mail.internet.MimeBodyPart
-
Constructs a MimeBodyPart by reading and parsing the data from
the specified input stream.
- MimeBodyPart(InternetHeaders, byte[]) - Constructor for class javax.mail.internet.MimeBodyPart
-
Constructs a MimeBodyPart using the given header and
content bytes.
- mimeCharset(String) - Static method in class javax.mail.internet.MimeUtility
-
Convert a java charset into its MIME charset name.
- MimeMessage - Class in javax.mail.internet
-
This class represents a MIME style email message.
- MimeMessage(Session) - Constructor for class javax.mail.internet.MimeMessage
-
Default constructor.
- MimeMessage(Session, InputStream) - Constructor for class javax.mail.internet.MimeMessage
-
Constructs a MimeMessage by reading and parsing the data from the
specified MIME InputStream.
- MimeMessage(MimeMessage) - Constructor for class javax.mail.internet.MimeMessage
-
Constructs a new MimeMessage with content initialized from the
source
MimeMessage.
- MimeMessage(Folder, int) - Constructor for class javax.mail.internet.MimeMessage
-
Constructs an empty MimeMessage object with the given Folder
and message number.
- MimeMessage(Folder, InputStream, int) - Constructor for class javax.mail.internet.MimeMessage
-
Constructs a MimeMessage by reading and parsing the data from the
specified MIME InputStream.
- MimeMessage(Folder, InternetHeaders, byte[], int) - Constructor for class javax.mail.internet.MimeMessage
-
Constructs a MimeMessage from the given InternetHeaders object
and content.
- MimeMessage.RecipientType - Class in javax.mail.internet
-
This inner class extends the javax.mail.Message.RecipientType
class to add additional RecipientTypes.
- MimeMessage.RecipientType(String) - Constructor for class javax.mail.internet.MimeMessage.RecipientType
-
- MimeMultipart - Class in javax.mail.internet
-
The MimeMultipart class is an implementation of the abstract Multipart
class that uses MIME conventions for the multipart data.
- MimeMultipart() - Constructor for class javax.mail.internet.MimeMultipart
-
Default constructor.
- MimeMultipart(String) - Constructor for class javax.mail.internet.MimeMultipart
-
Construct a MimeMultipart object of the given subtype.
- MimeMultipart(BodyPart...) - Constructor for class javax.mail.internet.MimeMultipart
-
Construct a MimeMultipart object of the default "mixed" subtype,
and with the given body parts.
- MimeMultipart(String, BodyPart...) - Constructor for class javax.mail.internet.MimeMultipart
-
Construct a MimeMultipart object of the given subtype
and with the given body parts.
- MimeMultipart(DataSource) - Constructor for class javax.mail.internet.MimeMultipart
-
Constructs a MimeMultipart object and its bodyparts from the
given DataSource.
- MimePart - Interface in javax.mail.internet
-
The MimePart interface models an Entity as defined
by MIME (RFC2045, Section 2.4).
- MimePartDataSource - Class in javax.mail.internet
-
A utility class that implements a DataSource out of
a MimePart.
- MimePartDataSource(MimePart) - Constructor for class javax.mail.internet.MimePartDataSource
-
Constructor, that constructs a DataSource from a MimePart.
- MimeUtility - Class in javax.mail.internet
-
This is a utility class that provides various MIME related
functionality.
- mode - Variable in class javax.mail.Folder
-
The open mode of this folder.
- modified - Variable in class javax.mail.internet.MimeMessage
-
A flag indicating whether the message has been modified.
- msg - Variable in class javax.mail.event.MessageChangedEvent
-
The message that changed.
- msg - Variable in class javax.mail.event.TransportEvent
-
- msgnum - Variable in class javax.mail.Message
-
The number of this message within its folder, or zero if
the message was not retrieved from a folder.
- msgs - Variable in class javax.mail.event.MessageCountEvent
-
The messages.
- Multipart - Class in javax.mail
-
Multipart is a container that holds multiple body parts.
- Multipart() - Constructor for class javax.mail.Multipart
-
Default constructor.
- MultipartDataSource - Interface in javax.mail
-
MultipartDataSource is a DataSource
that contains body
parts.
- saveChanges() - Method in class javax.mail.internet.MimeMessage
-
Updates the appropriate header fields of this message to be
consistent with the message's contents.
- saveChanges() - Method in class javax.mail.Message
-
Save any changes made to this message into the message-store
when the containing folder is closed, if the message is contained
in a folder.
- saved - Variable in class javax.mail.internet.MimeMessage
-
Does the saveChanges
method need to be called on
this message? This flag is set to false by the public constructor
and set to true by the saveChanges
method.
- saveFile(File) - Method in class javax.mail.internet.MimeBodyPart
-
Save the contents of this part in the specified file.
- saveFile(String) - Method in class javax.mail.internet.MimeBodyPart
-
Save the contents of this part in the specified file.
- search(SearchTerm) - Method in class javax.mail.Folder
-
Search this Folder for messages matching the specified
search criterion.
- search(SearchTerm, Message[]) - Method in class javax.mail.Folder
-
Search the given array of messages for those that match the
specified search criterion.
- SearchException - Exception in javax.mail.search
-
The exception thrown when a Search expression could not be handled.
- SearchException() - Constructor for exception javax.mail.search.SearchException
-
Constructs a SearchException with no detail message.
- SearchException(String) - Constructor for exception javax.mail.search.SearchException
-
Constructs a SearchException with the specified detail message.
- SearchTerm - Class in javax.mail.search
-
Search criteria are expressed as a tree of search-terms, forming
a parse-tree for the search expression.
- SearchTerm() - Constructor for class javax.mail.search.SearchTerm
-
- SEEN - Static variable in class javax.mail.Flags.Flag
-
This message is seen.
- send(Message) - Static method in class javax.mail.Transport
-
Send a message.
- send(Message, Address[]) - Static method in class javax.mail.Transport
-
Send the message to the specified addresses, ignoring any
recipients specified in the message itself.
- send(Message, String, String) - Static method in class javax.mail.Transport
-
Send a message.
- send(Message, Address[], String, String) - Static method in class javax.mail.Transport
-
Send the message to the specified addresses, ignoring any
recipients specified in the message itself.
- SendFailedException - Exception in javax.mail
-
This exception is thrown when the message cannot be sent.
- SendFailedException() - Constructor for exception javax.mail.SendFailedException
-
Constructs a SendFailedException with no detail message.
- SendFailedException(String) - Constructor for exception javax.mail.SendFailedException
-
Constructs a SendFailedException with the specified detail message.
- SendFailedException(String, Exception) - Constructor for exception javax.mail.SendFailedException
-
Constructs a SendFailedException with the specified
Exception and detail message.
- SendFailedException(String, Exception, Address[], Address[], Address[]) - Constructor for exception javax.mail.SendFailedException
-
Constructs a SendFailedException with the specified string
and the specified address objects.
- sendMessage(Message, Address[]) - Method in class javax.mail.Transport
-
Send the Message to the specified list of addresses.
- SentDateTerm - Class in javax.mail.search
-
This class implements comparisons for the Message SentDate.
- SentDateTerm(int, Date) - Constructor for class javax.mail.search.SentDateTerm
-
Constructor.
- Service - Class in javax.mail
-
An abstract class that contains the functionality
common to messaging services, such as stores and transports.
- Service(Session, URLName) - Constructor for class javax.mail.Service
-
Constructor.
- session - Variable in class javax.mail.Message
-
The Session object for this Message
- session - Variable in class javax.mail.Service
-
The session from which this service was created.
- Session - Class in javax.mail
-
The Session class represents a mail session and is not subclassed.
- set(String, String) - Method in class javax.mail.internet.ParameterList
-
Set a parameter.
- set(String, String, String) - Method in class javax.mail.internet.ParameterList
-
Set a parameter.
- setAddress(String) - Method in class javax.mail.internet.InternetAddress
-
Set the email address.
- setCalendar(Calendar) - Method in class javax.mail.internet.MailDateFormat
-
Don't allow setting the calendar
- setConnected(boolean) - Method in class javax.mail.Service
-
Set the connection state of this service.
- setContent(Object, String) - Method in class javax.mail.internet.MimeBodyPart
-
A convenience method for setting this body part's content.
- setContent(Multipart) - Method in class javax.mail.internet.MimeBodyPart
-
This method sets the body part's content to a Multipart object.
- setContent(Object, String) - Method in class javax.mail.internet.MimeMessage
-
A convenience method for setting this Message's content.
- setContent(Multipart) - Method in class javax.mail.internet.MimeMessage
-
This method sets the Message's content to a Multipart object.
- setContent(Object, String) - Method in interface javax.mail.Part
-
A convenience method for setting this part's content.
- setContent(Multipart) - Method in interface javax.mail.Part
-
This method sets the given Multipart object as this message's
content.
- setContentID(String) - Method in class javax.mail.internet.MimeBodyPart
-
Set the "Content-ID" header field of this body part.
- setContentID(String) - Method in class javax.mail.internet.MimeMessage
-
Set the "Content-ID" header field of this Message.
- setContentLanguage(String[]) - Method in class javax.mail.internet.MimeBodyPart
-
Set the Content-Language header of this MimePart.
- setContentLanguage(String[]) - Method in class javax.mail.internet.MimeMessage
-
Set the "Content-Language" header of this MimePart.
- setContentLanguage(String[]) - Method in interface javax.mail.internet.MimePart
-
Set the Content-Language header of this MimePart.
- setContentMD5(String) - Method in class javax.mail.internet.MimeBodyPart
-
Set the "Content-MD5" header field of this body part.
- setContentMD5(String) - Method in class javax.mail.internet.MimeMessage
-
Set the "Content-MD5" header field of this Message.
- setContentMD5(String) - Method in interface javax.mail.internet.MimePart
-
Set the Content-MD5 of this part.
- setDataHandler(DataHandler) - Method in class javax.mail.internet.MimeBodyPart
-
This method provides the mechanism to set this body part's content.
- setDataHandler(DataHandler) - Method in class javax.mail.internet.MimeMessage
-
This method provides the mechanism to set this part's content.
- setDataHandler(DataHandler) - Method in interface javax.mail.Part
-
This method provides the mechanism to set this part's content.
- setDebug(boolean) - Method in class javax.mail.Session
-
Set the debug setting for this Session.
- setDebugOut(PrintStream) - Method in class javax.mail.Session
-
Set the stream to be used for debugging output for this session.
- setDescription(String) - Method in class javax.mail.internet.MimeBodyPart
-
Set the "Content-Description" header field for this body part.
- setDescription(String, String) - Method in class javax.mail.internet.MimeBodyPart
-
Set the "Content-Description" header field for this body part.
- setDescription(String) - Method in class javax.mail.internet.MimeMessage
-
Set the "Content-Description" header field for this Message.
- setDescription(String, String) - Method in class javax.mail.internet.MimeMessage
-
Set the "Content-Description" header field for this Message.
- setDescription(String) - Method in interface javax.mail.Part
-
Set a description String for this part.
- setDisposition(String) - Method in class javax.mail.internet.ContentDisposition
-
Set the disposition.
- setDisposition(String) - Method in class javax.mail.internet.MimeBodyPart
-
Set the "Content-Disposition" header field of this body part.
- setDisposition(String) - Method in class javax.mail.internet.MimeMessage
-
Set the "Content-Disposition" header field of this Message.
- setDisposition(String) - Method in interface javax.mail.Part
-
Set the disposition of this part.
- setExpunged(boolean) - Method in class javax.mail.Message
-
Sets the expunged flag for this Message.
- setFileName(String) - Method in class javax.mail.internet.MimeBodyPart
-
Set the filename associated with this body part, if possible.
- setFileName(String) - Method in class javax.mail.internet.MimeMessage
-
Set the filename associated with this part, if possible.
- setFileName(String) - Method in interface javax.mail.Part
-
Set the filename associated with this part, if possible.
- setFlag(Flags.Flag, boolean) - Method in class javax.mail.Message
-
Set the specified flag on this message to the specified value.
- setFlags(Message[], Flags, boolean) - Method in class javax.mail.Folder
-
Set the specified flags on the messages specified in the array.
- setFlags(int, int, Flags, boolean) - Method in class javax.mail.Folder
-
Set the specified flags on the messages numbered from start
through end, both start and end inclusive.
- setFlags(int[], Flags, boolean) - Method in class javax.mail.Folder
-
Set the specified flags on the messages whose message numbers
are in the array.
- setFlags(Flags, boolean) - Method in class javax.mail.internet.MimeMessage
-
Set the flags for this message.
- setFlags(Flags, boolean) - Method in class javax.mail.Message
-
Set the specified flags on this message to the specified value.
- setFrom(Address) - Method in class javax.mail.internet.MimeMessage
-
Set the RFC 822 "From" header field.
- setFrom(String) - Method in class javax.mail.internet.MimeMessage
-
Set the RFC 822 "From" header field.
- setFrom() - Method in class javax.mail.internet.MimeMessage
-
Set the RFC 822 "From" header field using the value of the
InternetAddress.getLocalAddress
method.
- setFrom() - Method in class javax.mail.Message
-
Set the "From" attribute in this Message.
- setFrom(Address) - Method in class javax.mail.Message
-
Set the "From" attribute in this Message.
- setHeader(String, String) - Method in class javax.mail.internet.InternetHeaders
-
Change the first header line that matches name
to have value, adding a new header if no existing header
matches.
- setHeader(String, String) - Method in class javax.mail.internet.MimeBodyPart
-
Set the value for this header_name.
- setHeader(String, String) - Method in class javax.mail.internet.MimeMessage
-
Set the value for this header_name.
- setHeader(String, String) - Method in interface javax.mail.Part
-
Set the value for this header_name.
- setHost(String) - Method in class javax.mail.internet.NewsAddress
-
Set the host.
- setMessageNumber(int) - Method in class javax.mail.Message
-
Set the Message number for this Message.
- setMultipartDataSource(MultipartDataSource) - Method in class javax.mail.Multipart
-
Setup this Multipart object from the given MultipartDataSource.
- setName(String) - Method in class javax.mail.util.ByteArrayDataSource
-
Set the name of the data.
- setNewsgroup(String) - Method in class javax.mail.internet.NewsAddress
-
Set the newsgroup.
- setNextException(Exception) - Method in exception javax.mail.MessagingException
-
Add an exception to the end of the chain.
- setNumberFormat(NumberFormat) - Method in class javax.mail.internet.MailDateFormat
-
Don't allow setting the NumberFormat
- setParameter(String, String) - Method in class javax.mail.internet.ContentDisposition
-
Set the specified parameter.
- setParameter(String, String) - Method in class javax.mail.internet.ContentType
-
Set the specified parameter.
- setParameterList(ParameterList) - Method in class javax.mail.internet.ContentDisposition
-
Set a new ParameterList.
- setParameterList(ParameterList) - Method in class javax.mail.internet.ContentType
-
Set a new ParameterList.
- setParent(Part) - Method in class javax.mail.Multipart
-
Set the parent of this Multipart
to be the specified
Part
.
- setPasswordAuthentication(URLName, PasswordAuthentication) - Method in class javax.mail.Session
-
Save a PasswordAuthentication for this (store or transport) URLName.
- setPersonal(String, String) - Method in class javax.mail.internet.InternetAddress
-
Set the personal name.
- setPersonal(String) - Method in class javax.mail.internet.InternetAddress
-
Set the personal name.
- setPreamble(String) - Method in class javax.mail.internet.MimeMultipart
-
Set the preamble text to be included before the first
body part.
- setPrimaryType(String) - Method in class javax.mail.internet.ContentType
-
Set the primary type.
- setProtocolForAddress(String, String) - Method in class javax.mail.Session
-
Set the default transport protocol to use for addresses of
the specified type.
- setProvider(Provider) - Method in class javax.mail.Session
-
Set the passed Provider to be the default implementation
for the protocol in Provider.protocol overriding any previous values.
- setQuota(Quota) - Method in interface javax.mail.QuotaAwareStore
-
Set the quotas for the quota root specified in the quota argument.
- setRecipient(Message.RecipientType, Address) - Method in class javax.mail.Message
-
Set the recipient address.
- setRecipients(Message.RecipientType, Address[]) - Method in class javax.mail.internet.MimeMessage
-
Set the specified recipient type to the given addresses.
- setRecipients(Message.RecipientType, String) - Method in class javax.mail.internet.MimeMessage
-
Set the specified recipient type to the given addresses.
- setRecipients(Message.RecipientType, Address[]) - Method in class javax.mail.Message
-
Set the recipient addresses.
- setReplyTo(Address[]) - Method in class javax.mail.internet.MimeMessage
-
Set the RFC 822 "Reply-To" header field.
- setReplyTo(Address[]) - Method in class javax.mail.Message
-
Set the addresses to which replies should be directed.
- setResourceLimit(String, long) - Method in class javax.mail.Quota
-
Set a resource limit for this quota root.
- setSender(Address) - Method in class javax.mail.internet.MimeMessage
-
Set the RFC 822 "Sender" header field.
- setSentDate(Date) - Method in class javax.mail.internet.MimeMessage
-
Set the RFC 822 "Date" header field.
- setSentDate(Date) - Method in class javax.mail.Message
-
Set the sent date of this message.
- setSubject(String) - Method in class javax.mail.internet.MimeMessage
-
Set the "Subject" header field.
- setSubject(String, String) - Method in class javax.mail.internet.MimeMessage
-
Set the "Subject" header field.
- setSubject(String) - Method in class javax.mail.Message
-
Set the subject of this message.
- setSubscribed(boolean) - Method in class javax.mail.Folder
-
Subscribe or unsubscribe this Folder.
- setSubType(String) - Method in class javax.mail.internet.ContentType
-
Set the subType.
- setSubType(String) - Method in class javax.mail.internet.MimeMultipart
-
Set the subtype.
- setText(String) - Method in class javax.mail.internet.MimeBodyPart
-
Convenience method that sets the given String as this
part's content, with a MIME type of "text/plain".
- setText(String, String) - Method in class javax.mail.internet.MimeBodyPart
-
Convenience method that sets the given String as this part's
content, with a MIME type of "text/plain" and the specified
charset.
- setText(String, String, String) - Method in class javax.mail.internet.MimeBodyPart
-
Convenience method that sets the given String as this part's
content, with a primary MIME type of "text" and the specified
MIME subtype.
- setText(String) - Method in class javax.mail.internet.MimeMessage
-
Convenience method that sets the given String as this
part's content, with a MIME type of "text/plain".
- setText(String, String) - Method in class javax.mail.internet.MimeMessage
-
Convenience method that sets the given String as this part's
content, with a MIME type of "text/plain" and the specified
charset.
- setText(String, String, String) - Method in class javax.mail.internet.MimeMessage
-
Convenience method that sets the given String as this part's
content, with a primary MIME type of "text" and the specified
MIME subtype.
- setText(String) - Method in interface javax.mail.internet.MimePart
-
Convenience method that sets the given String as this
part's content, with a MIME type of "text/plain".
- setText(String, String) - Method in interface javax.mail.internet.MimePart
-
Convenience method that sets the given String as this part's
content, with a MIME type of "text/plain" and the specified
charset.
- setText(String, String, String) - Method in interface javax.mail.internet.MimePart
-
Convenience method that sets the given String as this part's
content, with a primary MIME type of "text" and the specified
MIME subtype.
- setText(String) - Method in interface javax.mail.Part
-
A convenience method that sets the given String as this
part's content with a MIME type of "text/plain".
- setURLName(URLName) - Method in class javax.mail.Service
-
Set the URLName representing this service.
- SharedByteArrayInputStream - Class in javax.mail.util
-
A ByteArrayInputStream that implements the SharedInputStream interface,
allowing the underlying byte array to be shared between multiple readers.
- SharedByteArrayInputStream(byte[]) - Constructor for class javax.mail.util.SharedByteArrayInputStream
-
Create a SharedByteArrayInputStream representing the entire
byte array.
- SharedByteArrayInputStream(byte[], int, int) - Constructor for class javax.mail.util.SharedByteArrayInputStream
-
Create a SharedByteArrayInputStream representing the part
of the byte array from offset
for length
bytes.
- SharedFileInputStream - Class in javax.mail.util
-
A SharedFileInputStream
is a
BufferedInputStream
that buffers
data from the file and supports the mark
and reset
methods.
- SharedFileInputStream(File) - Constructor for class javax.mail.util.SharedFileInputStream
-
Creates a SharedFileInputStream
for the file.
- SharedFileInputStream(String) - Constructor for class javax.mail.util.SharedFileInputStream
-
Creates a SharedFileInputStream
for the named file
- SharedFileInputStream(File, int) - Constructor for class javax.mail.util.SharedFileInputStream
-
Creates a SharedFileInputStream
with the specified buffer size.
- SharedFileInputStream(String, int) - Constructor for class javax.mail.util.SharedFileInputStream
-
Creates a SharedFileInputStream
with the specified buffer size.
- SharedInputStream - Interface in javax.mail.internet
-
An InputStream that is backed by data that can be shared by multiple
readers may implement this interface.
- SIZE - Static variable in class javax.mail.FetchProfile.Item
-
SIZE is a fetch profile item that can be included in a
FetchProfile
during a fetch request to a Folder.
- size() - Method in class javax.mail.internet.ParameterList
-
Return the number of parameters in this list.
- SizeTerm - Class in javax.mail.search
-
This class implements comparisons for Message sizes.
- SizeTerm(int, int) - Constructor for class javax.mail.search.SizeTerm
-
Constructor.
- skip(long) - Method in class javax.mail.util.SharedFileInputStream
-
See the general contract of the skip
method of InputStream
.
- start - Variable in class javax.mail.util.SharedByteArrayInputStream
-
Position within shared buffer that this stream starts at.
- start - Variable in class javax.mail.util.SharedFileInputStream
-
The file offset of the start of data in this subset of the file.
- store - Variable in class javax.mail.Folder
-
The parent store.
- STORE - Static variable in class javax.mail.Provider.Type
-
- Store - Class in javax.mail
-
An abstract class that models a message store and its
access protocol, for storing and retrieving messages.
- Store(Session, URLName) - Constructor for class javax.mail.Store
-
Constructor.
- StoreClosedException - Exception in javax.mail
-
This exception is thrown when a method is invoked on a Messaging object
and the Store that owns that object has died due to some reason.
- StoreClosedException(Store) - Constructor for exception javax.mail.StoreClosedException
-
Constructs a StoreClosedException with no detail message.
- StoreClosedException(Store, String) - Constructor for exception javax.mail.StoreClosedException
-
Constructs a StoreClosedException with the specified
detail message.
- StoreClosedException(Store, String, Exception) - Constructor for exception javax.mail.StoreClosedException
-
Constructs a StoreClosedException with the specified
detail message and embedded exception.
- StoreEvent - Class in javax.mail.event
-
This class models notifications from the Store connection.
- StoreEvent(Store, int, String) - Constructor for class javax.mail.event.StoreEvent
-
Constructor.
- StoreListener - Interface in javax.mail.event
-
This is the Listener interface for Store Notifications.
- StringTerm - Class in javax.mail.search
-
This class implements the match method for Strings.
- StringTerm(String) - Constructor for class javax.mail.search.StringTerm
-
- StringTerm(String, boolean) - Constructor for class javax.mail.search.StringTerm
-
- SubjectTerm - Class in javax.mail.search
-
This class implements comparisons for the message Subject header.
- SubjectTerm(String) - Constructor for class javax.mail.search.SubjectTerm
-
Constructor.