站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Java Platform, Enterprise Edition v1.4 API Specifications

Provider (Java 2 Platform Ent. Ed. v1.4) - Java Platform, Enterprise Edition v1.4 API Specifications

JavaTM 2 Platform
Ent. Ed. v1.4

javax.mail
Class Provider

java.lang.Object
  extended byjavax.mail.Provider

public class Provider
extends Object

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

Version:
1.8, 02/03/27
Author:
Max Spivak

Nested Class Summary
static class Provider.Type
          This inner class defines the Provider type.
 
Method Summary
 String getClassName()
          Returns 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 or null
 String getVersion()
          Returns version of this implementation or null if no version
 String toString()
          Overrides Object.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 type of this Provider


getProtocol

public String getProtocol()
Returns the protocol supported by this Provider


getClassName

public String getClassName()
Returns name of the class that implements the protocol


getVendor

public String getVendor()
Returns name of vendor associated with this implementation or null


getVersion

public String getVersion()
Returns version of this implementation or null if no version


toString

public String toString()
Overrides Object.toString()


JavaTM 2 Platform
Ent. Ed. v1.4

Submit a bug or feature

Copyright 2003 Sun Microsystems, Inc. All rights reserved.