| java.lang.Object | |
| ↳ | com.google.code.javax.mail.Provider |
The Provider is a class that describes a protocol implementation. The values typically come from the javamail.providers and javamail.default.providers resource files. An application may also create and register a Provider object to dynamically add support for a new provider.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Provider.Type | This inner class defines the Provider type. | ||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| className | |||||||||||
| protocol | |||||||||||
| type | |||||||||||
| vendor | |||||||||||
| version | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Create a new provider of the specified type for the specified
protocol.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns name of the class that implements the protocol
| |||||||||||
Returns the protocol supported by this Provider
| |||||||||||
Returns the type of this Provider
| |||||||||||
Returns name of vendor associated with this implementation or null
| |||||||||||
Returns version of this implementation or null if no version
| |||||||||||
Overrides Object.toString()
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Create a new provider of the specified type for the specified protocol. The specified class implements the provider.
| type | Type.STORE or Type.TRANSPORT |
|---|---|
| protocol | Valid protocol for the type |
| classname | Class name that implements this protocol |
| vendor | Optional string identifying the vendor (may be null) |
| version | Optional implementation version string (may be null) |
Returns name of the class that implements the protocol
Returns the protocol supported by this Provider
Returns name of vendor associated with this implementation or null
Returns version of this implementation or null if no version
Overrides Object.toString()