public class FingerprintScannerDevice
extends java.lang.Object
| Constructor and Description |
|---|
FingerprintScannerDevice()
Initializes the Fingerprint Scanner software.
|
FingerprintScannerDevice(java.lang.String proppath)
Initializes the Fingerprint Scanner software with a specified property
path.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addEventListener(java.util.EventListener ev)
Sets an event handler method to a specified event.
|
void |
close()
Ends using of the current device.
|
static java.util.ArrayList<java.lang.String> |
getDeviceList()
Collects a list of device names for
useDevice(String) method. |
java.lang.String |
getDeviceName()
Returns the name of the device.
|
Peripherals |
getPeripherals()
Returns the device peripheral controller module
of the used
FingerprintScannerDevice. |
java.lang.String |
getProperty(java.lang.String property)
Returns a property value of the Fingerprint Scanner system.
|
FingerScanner |
getScanner()
Returns the finger scanner module of the used
FingerprintScannerDevice. |
java.lang.String |
getVersion(char component)
Returns version information of the API.
|
void |
removeEventListener(java.util.EventListener ev)
Removes an event handler method from a specified event.
|
void |
setProperty(java.lang.String property,
java.lang.String value)
Sets a property value of the Fingerprint Scanner system.
|
FingerprintScannerDevice |
useDevice(int devno)
Starts using a device.
|
FingerprintScannerDevice |
useDevice(java.lang.String devname)
Starts using a device.
|
public FingerprintScannerDevice()
throws General
Generalpublic FingerprintScannerDevice(java.lang.String proppath)
throws General
proppath - Name of the xml node of the gxsd.dat file from where the
initial data should be read.Generalpublic void addEventListener(java.util.EventListener ev)
throws General
ev - The event handler class and method.Generalpublic void removeEventListener(java.util.EventListener ev)
throws General
ev - The event handler class and method.Generalpublic static java.util.ArrayList<java.lang.String> getDeviceList()
throws General
useDevice(String) method.Generalpublic FingerprintScannerDevice useDevice(int devno) throws General
devno - Ordinal number of the device to use.Generalpublic FingerprintScannerDevice useDevice(java.lang.String devname) throws General
devname - Name of the device to use. The list of available names can
be requested from the getDeviceList().Generalpublic java.lang.String getDeviceName()
throws General
Generalpublic java.lang.String getVersion(char component)
component - Character 'A' for version of the java interface
files, or character 'S' for version of the Fingerprint Scanner
system.public void setProperty(java.lang.String property,
java.lang.String value)
throws General
property - The name of the property.value - The value of the property.Generalpublic java.lang.String getProperty(java.lang.String property)
throws General
property - The name of the property.Generalpublic Peripherals getPeripherals() throws General
FingerprintScannerDevice.Generalpublic FingerScanner getScanner()
FingerprintScannerDevice.ARH Passport Reader v 2.2.0.17 / 2017 July 19 14:58