Package | Description |
---|---|
javax.mail |
Classes modelling a mail system.
|
Modifier and Type | Method and Description |
---|---|
Provider |
Session.getProvider(java.lang.String protocol)
Returns the default Provider for the protocol specified.
|
Provider[] |
Session.getProviders()
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.
|
Modifier and Type | Method and Description |
---|---|
Store |
Session.getStore(Provider provider)
Get an instance of the store specified by Provider.
|
Transport |
Session.getTransport(Provider provider)
Get an instance of the transport specified in the Provider.
|
void |
Session.setProvider(Provider provider)
Set the passed Provider to be the default implementation for the protocol
in Provider.protocol overriding any previous values.
|
© Copyright 2003, 2004 The Free Software Foundation, All rights reserved