javax.mail
Class Provider

java.lang.Object
  extended byjavax.mail.Provider

public class Provider
extends java.lang.Object

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

Version:
1.3
Author:
Chris Burdess

Nested Class Summary
static class Provider.Type
          A provider type (STORE or TRANSPORT).
 
Method Summary
 java.lang.String getClassName()
          Returns the name of the class implementing the protocol.
 java.lang.String getProtocol()
          Returns the protocol implemented by this provider.
 Provider.Type getType()
          Returns the provider type.
 java.lang.String getVendor()
          Returns the name of the vendor associated with this implementation.
 java.lang.String getVersion()
          Returns the version of this implementation.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getType

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


getProtocol

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


getClassName

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


getVendor

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


getVersion

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


toString

public java.lang.String toString()


© Copyright 2003, 2004 The Free Software Foundation, All rights reserved