Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
javax.mail.Provider

Packages that use Provider
javax.mail | The JavaMailTM API provides classes that model a mail system.

Uses of Provider in javax.mail

Methods in javax.mail that return Provider
`Provider` | `Session.getProvider(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.

Methods in javax.mail with parameters of type Provider
`void` | `Session.addProvider(Provider provider)` Add a provider to the session.
`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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2012 Oracle. All Rights Reserved.