javax.mail

Class Provider

public class Provider extends Object

A description of a messaging implementation that can store or send messages.

Version: 1.3

Author: Chris Burdess

Nested Class Summary
static classProvider.Type
A provider type (STORE or TRANSPORT).
Method Summary
StringgetClassName()
Returns the name of the class implementing the protocol.
StringgetProtocol()
Returns the protocol implemented by this provider.
Provider.TypegetType()
Returns the provider type.
StringgetVendor()
Returns the name of the vendor associated with this implementation.
StringgetVersion()
Returns the version of this implementation.
StringtoString()

Method Detail

getClassName

public String getClassName()
Returns the name of the class implementing the protocol.

getProtocol

public String getProtocol()
Returns the protocol implemented by this provider.

getType

public Provider.Type getType()
Returns the provider type.

getVendor

public String getVendor()
Returns the name of the vendor associated with this implementation.

getVersion

public String getVersion()
Returns the version of this implementation.

toString

public String toString()
© Copyright 2003, 2004 The Free Software Foundation, All rights reserved