Package org.jopensignature.sign
Class Vendor
- java.lang.Object
-
- org.jopensignature.sign.Vendor
-
- Direct Known Subclasses:
SoVendor
public abstract class Vendor extends java.lang.Object
Generic structure for vendor information.
-
-
Constructor Summary
Constructors Constructor Description Vendor()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.awt.image.BufferedImage
getImage()
Returns a vendor specificimage
for e.g.abstract java.lang.String
getName()
Returns the name of the vendor.java.net.URL
getURL()
Returns a URL to a vendor homepage.
-
-
-
Method Detail
-
getName
public abstract java.lang.String getName()
Returns the name of the vendor. This method must never returnnull
.- Returns:
- the name of the vendor.
-
getImage
public java.awt.image.BufferedImage getImage()
Returns a vendor specificimage
for e.g. the company sign. If no suchimage
is available,null
may be returned. This image can be used to for example to present a "Device Selection Dialog".NOTE: The default implementation will return
null
. Override this method if a customimage
shall be returned.- Returns:
-
getURL
public java.net.URL getURL()
Returns a URL to a vendor homepage. This is optional and can benull
.- Returns:
- a URL to a vendor homepage or
null
-
-