⇒ Index (Frames) |  ⇒ Index (No Frames) |  ⇒ Package |  ⇒ Package Tree |  ⇒ Full Tree 
javax.mail

Class Provider

java.lang.Object
|
+--javax.mail.Provider


public class Provider
extends java.lang.Object

The Provider is a class that describes a protocol implementation. The values come from the javamail.providers & javamail.default.providers resource files.
Author:

Method Summary

String

getClassName()

Returns the name of the class that implements the protocol.

String

getProtocol()

Returns the protocol supported by this Provider.

Provider.Type

getType()

Returns the type of this Provider.

String

getVendor()

Returns name of vendor associated with this implementation.

String

getVersion()

Returns version of this implementation or null if no version.

String

toString()

Overrides Object.toString()

Method Details

getClassName

public String getClassName()

Returns the name of the class that implements the protocol.


getProtocol

public String getProtocol()

Returns the protocol supported by this Provider.


getType

public Provider.Type getType()

Returns the type of this Provider.


getVendor

public String getVendor()

Returns name of vendor associated with this implementation. May be null.


getVersion

public String getVersion()

Returns version of this implementation or null if no version.


toString

public String toString()

Overrides Object.toString()