|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.mail.Provider
public class Provider
A description of a messaging implementation that can store or send messages.
| Nested Class Summary | |
|---|---|
static class |
Provider.Type
A provider type (STORE or TRANSPORT). |
| Constructor Summary | |
|---|---|
Provider(Provider.Type type,
String protocol,
String className,
String vendor,
String version)
Creates a new provider of the given type and protocol. |
|
| Method Summary | |
|---|---|
String |
getClassName()
Returns the name of the class implementing the protocol. |
String |
getProtocol()
Returns the protocol implemented by this provider. |
Provider.Type |
getType()
Returns the provider type. |
String |
getVendor()
Returns the name of the vendor associated with this implementation. |
String |
getVersion()
Returns the version of this implementation. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Provider(Provider.Type type,
String protocol,
String className,
String vendor,
String version)
type - the provider typeprotocol - the protocol URL schemeclassName - the name of the implementing classvendor - the implementation vendorversion - the implementation version| Method Detail |
|---|
public Provider.Type getType()
public String getProtocol()
public String getClassName()
public String getVendor()
public String getVersion()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||