public class IrisBiometricSubtypeInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
EYE_LEFT
Biometric subtype value.
|
static int |
EYE_RIGHT
Biometric subtype value.
|
static int |
EYE_UNDEF
Biometric subtype value.
|
Constructor and Description |
---|
IrisBiometricSubtypeInfo(java.io.InputStream in,
int imageFormat)
Constructs an iris biometric subtype from binary encoding.
|
IrisBiometricSubtypeInfo(int biometricSubtype,
int imageFormat,
java.util.List<IrisImageInfo> irisImageInfos)
Constructs a biometric subtype info.
|
Modifier and Type | Method and Description |
---|---|
void |
addIrisImageInfo(IrisImageInfo irisImageInfo)
Adds an iris image info to this iris biometric subtype info.
|
boolean |
equals(java.lang.Object other) |
int |
getBiometricSubtype()
The biometric subtype (feature identifier).
|
byte[] |
getEncoded()
Gets the encoded contents of this LDS info.
|
int |
getImageFormat()
Gets the image format used in the images encoded in this record.
|
java.util.List<IrisImageInfo> |
getIrisImageInfos()
Gets the iris image infos embedded in this iris biometric subtype info.
|
long |
getRecordLength()
Gets the record length.
|
int |
hashCode() |
void |
readObject(java.io.InputStream inputStream)
Reads an iris biometric subtype from input stream.
|
void |
removeIrisImageInfo(int index)
Removes an iris image info from this iris biometric subtype info.
|
java.lang.String |
toString() |
void |
writeObject(java.io.OutputStream outputStream)
Writes an iris biometric subtype to output stream.
|
public static final int EYE_UNDEF
public static final int EYE_RIGHT
public static final int EYE_LEFT
public IrisBiometricSubtypeInfo(int biometricSubtype, int imageFormat, java.util.List<IrisImageInfo> irisImageInfos)
public IrisBiometricSubtypeInfo(java.io.InputStream in, int imageFormat) throws java.io.IOException
in
- an input streamimageFormat
- the image format usedjava.io.IOException
- if reading failspublic void readObject(java.io.InputStream inputStream) throws java.io.IOException
inputStream
- an input streamjava.io.IOException
- if reading failspublic void writeObject(java.io.OutputStream outputStream) throws java.io.IOException
outputStream
- an output streamjava.io.IOException
- if writing failspublic long getRecordLength()
public java.lang.String toString()
toString
in class java.lang.Object
public int getBiometricSubtype()
public int getImageFormat()
public java.util.List<IrisImageInfo> getIrisImageInfos()
public void addIrisImageInfo(IrisImageInfo irisImageInfo)
irisImageInfo
- the iris image info to addpublic void removeIrisImageInfo(int index)
index
- the index of the iris image info to removepublic boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public byte[] getEncoded()
LDSElement
getEncoded
in interface LDSElement