cafe.fingerprintauthentication
Class FPData

java.lang.Object
  extended by cafe.fingerprintauthentication.FPData

public class FPData
extends java.lang.Object


Constructor Summary
FPData(byte[] data, int quality, int id)
          Constructor for creating a new FPData-object.
 
Method Summary
 byte[] getData()
          Returns the raw data of the fingeprint for storing in database and creating a new fingerprint template.
 int getID()
          Returns id of the fingerprint saved in the object.
 int getQuality()
          Returns quality of the fingerprint.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FPData

public FPData(byte[] data,
              int quality,
              int id)
Constructor for creating a new FPData-object.

Parameters:
data - Byte array representing the fingerprint. Any valid bytevalue is okay.
quality - Integer presenting the fingerprint quality. Values -1 to 2 are valid.
id - Id of the fingerprint values from -1 to Interger.MAX_VALUE are valid.
Method Detail

getData

public byte[] getData()
Returns the raw data of the fingeprint for storing in database and creating a new fingerprint template.

Returns:
Fingerprint data. Returns bytearray representing the fingerprint.

getQuality

public int getQuality()
Returns quality of the fingerprint. Which is used when making new fingerprint template.

Returns:
Quality of the fingerprint returns i where i <= 2 or i >= -1.

getID

public int getID()
Returns id of the fingerprint saved in the object. And -1 if fingerprint doesn't have yet id.

Returns:
id of the saved fingerprint. Id will be greater or equal to -1.