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