javax.mail
Class 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.
static class | Provider.Type - This inner class defines the Provider type.
|
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()
|
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()