public class ProviderInfo
extends java.lang.Object
ImageReaderWriterSpi subclasses based on information in the manifest.| Constructor and Description |
|---|
ProviderInfo(java.lang.Package pPackage)
Creates a provider information instance based on the given package.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getVendorName()
Returns the vendor name, as specified in the manifest entry
Implementation-Vendor for the package. |
java.lang.String |
getVersion()
Returns the version/build number string, as specified in the manifest entry
Implementation-Version for the package. |
java.lang.String |
toString() |
public ProviderInfo(java.lang.Package pPackage)
pPackage - the package to get provider information from.
This should typically be the package containing the Spi class.java.lang.IllegalArgumentException - if pPackage == nullpublic final java.lang.String getVendorName()
Implementation-Vendor for the package.
If the vendor name is unavailable, the package name or some default name
for known packages are used.public final java.lang.String getVersion()
Implementation-Version for the package.
If the version is unavailable, some arbitrary (non-null) value is used.public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2018. All Rights Reserved.