public class Provider extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Provider.Type
A provider type (STORE or TRANSPORT).
|
| Constructor and Description |
|---|
Provider(Provider.Type type,
String protocol,
String className,
String vendor,
String version)
Creates a new provider of the given type and protocol.
|
| Modifier and Type | Method and Description |
|---|---|
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() |
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 versionpublic Provider.Type getType()
public String getProtocol()
public String getClassName()
public String getVendor()
public String getVersion()
© Copyright 2003, 2004 The Free Software Foundation, All rights reserved