javax.mail
クラス Provider

java.lang.Object
  上位を拡張 javax.mail.Provider

public final class Provider
extends Object

Provider はプロトコル実装を説明するクラスです。 値は javamail.providers 及び javamail.default.providers リソースファイルから取得します。


入れ子のクラスの概要
static class Provider.Type
          この内部クラスは Provider タイプを定義します。
 
コンストラクタの概要
Provider(Provider.Type type, String protocol, String classname, String vendor, String version)
          Package-private constructor for the Provider class.
 
メソッドの概要
 String getClassName()
          プロトコルを実装するクラスの名前を返します。
 String getProtocol()
          この Provider がサポートするプロトコルを返します。
 Provider.Type getType()
          この Provider のタイプを返します。
 String getVendor()
          この実装に関連付けられたベンダー名又は null を返します。
 String getVersion()
          この実装のバージョンか、バージョンがない場合は null を返します。
 String toString()
          Object.toString() をオーバーライドします。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

Provider

public Provider(Provider.Type type,
                String protocol,
                String classname,
                String vendor,
                String version)
Package-private constructor for the Provider class.

パラメータ:
type - Type.STORE 又は Type.TRANSPORT
protocol - valid protocol for the type
classname - class name that implements this protocol
vendor - optional string identifying the vendor (may be null)
version - optional implementation version string (may be null)
メソッドの詳細

getType

public Provider.Type getType()
この Provider のタイプを返します。


getProtocol

public String getProtocol()
この Provider がサポートするプロトコルを返します。


getClassName

public String getClassName()
プロトコルを実装するクラスの名前を返します。


getVendor

public String getVendor()
この実装に関連付けられたベンダー名又は null を返します。


getVersion

public String getVersion()
この実装のバージョンか、バージョンがない場合は null を返します。


toString

public String toString()
Object.toString() をオーバーライドします。

オーバーライド:
クラス Object 内の toString