public final class NSubject
extends com.neurotec.util.NExpandableObject
| Modifier and Type | Class and Description |
|---|---|
static class |
NSubject.FaceCollection
Collection of NFace objects containing face image data.
|
static class |
NSubject.FingerCollection
Collection of NFinger objects containing fingerprint data.
|
static class |
NSubject.IrisCollection
Collection of NIris objects containing iris image data.
|
static class |
NSubject.MatchingResultCollection
Collection of NMatchingResult objects containing the results of matching operations involving the subject.
|
static class |
NSubject.MissingEyeCollection
Collection of NEPosition objects containing data about missing eye positions.
|
static class |
NSubject.MissingFingerCollection
Collection of NFPosition objects containing data about missing finger positions.
|
static class |
NSubject.PalmCollection
Collection of NPalm objects containing palmprint data.
|
static class |
NSubject.RelatedSubjectCollection
Collection of NSubject objects representing related subjects.
|
static class |
NSubject.VoiceCollection
Collection of NVoice objects containing voice sample data.
|
| Constructor and Description |
|---|
NSubject()
Creates a new NSubject object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears the specified NSubject of all data.
|
static NSubject |
fromFile(String fileName)
Creates a new NSubject object from the specified file.
|
static NSubject |
fromFile(String fileName,
int flags)
Creates a new NSubject object from the specified file.
|
static NSubject |
fromFile(String fileName,
short formatOwner,
short formatType)
Creates a new NSubject object from the specified file with specified format.
|
static NSubject |
fromFile(String fileName,
short formatOwner,
short formatType,
int flags)
Creates a new NSubject object from the specified file with specified format.
|
static NSubject |
fromMemory(ByteBuffer buffer)
Creates a new NSubject object from the specified buffer.
|
static NSubject |
fromMemory(ByteBuffer buffer,
short formatOwner,
short formatType)
Creates a new NSubject object from the specified buffer with specified format.
|
static NSubject |
fromMemory(com.neurotec.io.NBuffer buffer)
Creates a new NSubject object from the specified buffer.
|
static NSubject |
fromMemory(com.neurotec.io.NBuffer buffer,
int flags)
Creates a new NSubject object from the specified buffer.
|
static NSubject |
fromMemory(com.neurotec.io.NBuffer buffer,
short formatOwner,
short formatType)
Creates a new NSubject object from the specified buffer with specified format.
|
static NSubject |
fromMemory(com.neurotec.io.NBuffer buffer,
short formatOwner,
short formatType,
int flags)
Creates a new NSubject object from the specified buffer with specified format.
|
static NSubject |
fromStream(com.neurotec.io.NStream stream)
Creates a new NSubject object from the specified memory stream.
|
static NSubject |
fromStream(com.neurotec.io.NStream stream,
int flags)
Creates a new NSubject object from the specified memory stream.
|
static NSubject |
fromStream(com.neurotec.io.NStream stream,
short formatOwner,
short formatType)
Creates a new NSubject object from the specified memory stream with specified format.
|
static NSubject |
fromStream(com.neurotec.io.NStream stream,
short formatOwner,
short formatType,
int flags)
Creates a new NSubject object from the specified memory stream with specified format.
|
Throwable |
getError()
Retrieves the exception thrown by the subject.
|
NSubject.FaceCollection |
getFaces()
Retrieves the collection of NFace objects.
|
NSubject.FingerCollection |
getFingers()
Retrieves the collection of NFinger objects.
|
NGender |
getGender()
Gets the gender of the subject.
|
String |
getId()
Gets the ID of the subject.
|
NSubject.IrisCollection |
getIrises()
Retrieves the collection of NIris objects.
|
NSubject.MatchingResultCollection |
getMatchingResults()
Retrieves the collection of subject's matching results.
|
NSubject.MissingEyeCollection |
getMissingEyes()
Retrieves the collection of NEPosition objects representing missing eye positions.
|
NSubject.MissingFingerCollection |
getMissingFingers()
Retrieves the collection of NFPosition objects representing missing finger positions.
|
NSubject.PalmCollection |
getPalms()
Retrieves the collection of NPalm objects.
|
String |
getQueryString()
Gets the subject's query string.
|
NSubject.RelatedSubjectCollection |
getRelatedSubjects()
Retrieves the collection of related NSubject objects.
|
com.neurotec.util.NPropertyBag |
getStatistics()
Gets the statistics of the subject (diagnostic information).
|
NBiometricStatus |
getStatus()
Gets the biometric status of the subject.
|
NTemplate |
getTemplate()
Gets the template used by the NSubject.
|
com.neurotec.io.NBuffer |
getTemplateBuffer()
Gets the buffer which contains templates for the NSubject.
|
com.neurotec.io.NBuffer |
getTemplateBuffer(short formatOwner,
short formatType)
Deprecated.
|
com.neurotec.io.NBuffer |
getTemplateBuffer(short formatOwner,
short formatType,
com.neurotec.util.NVersion version)
Gets the buffer which contains templates for the NSubject.
|
NSubject.VoiceCollection |
getVoices()
Retrieves the collection of NVoice objects.
|
boolean |
isMultipleSubjects()
Checks whether the subject consists of multiple NSubjects.
|
static com.neurotec.lang.NType |
nativeTypeOf()
Retrieves the native type for the enclosing class.
|
void |
setGender(NGender value)
Sets the gender of the subject.
|
void |
setId(String value)
Sets the ID of the subject.
|
void |
setMultipleSubjects(boolean value)
Sets whether the subject consists of multiple NSubjects.
|
void |
setQueryString(String value)
Sets the subject's query string.
|
void |
setTemplate(ANTemplate value)
Sets the ANTemplate to be used by the NSubject.
|
void |
setTemplate(CBEFFRecord value) |
void |
setTemplate(FCRecord value)
Sets the FCRecord to be used by the NSubject.
|
void |
setTemplate(FIRecord value)
Sets the FIRecord to be used by the NSubject.
|
void |
setTemplate(FMRecord value)
Sets the FMRecord to be used by the NSubject.
|
void |
setTemplate(IIRecord value)
Sets the IIRecord to be used by the NSubject.
|
void |
setTemplate(NTemplate value)
Sets the template used by the NSubject.
|
void |
setTemplateBuffer(com.neurotec.io.NBuffer value)
Sets the buffer which contains templates for the NSubject.
|
void |
setTemplateBuffer(com.neurotec.io.NBuffer value,
short formatOwner,
short formatType)
Sets the buffer which contains templates for the NSubject.
|
ANTemplate |
toANTemplate(com.neurotec.util.NVersion version,
String tot,
String dai,
String ori,
String tcn)
Converts the biometric subject into a ANTemplate.
|
FCRecord |
toFCRecord(BDIFStandard standard,
com.neurotec.util.NVersion version)
Converts the biometric subject into a FCRecord.
|
FIRecord |
toFIRecord(BDIFStandard standard,
com.neurotec.util.NVersion version)
Converts the biometric subject into a FIRecord.
|
FMCRecord |
toFMCRecord(BDIFStandard standard,
com.neurotec.util.NVersion version,
FMCRMinutiaFormat minutiaFormat)
Converts the biometric subject into a FMCRecord.
|
FMRecord |
toFMRecord(BDIFStandard standard,
com.neurotec.util.NVersion version)
Converts the biometric subject into a FMRecord.
|
IIRecord |
toIIRecord(BDIFStandard standard,
com.neurotec.util.NVersion version)
Converts the biometric subject into a IIRecord.
|
addListener, addPropertyChangeListener, captureProperties, claimHandle, clone, compareTo, copyProperties, dispose, disposeArray, equals, fromHandle, fromHandle, fromObject, getFlags, getHandle, getNativeType, getOwner, getProperty, getProperty, getSize, getSize, getSizeMany, getSizeMany, hashCode, invoke, invoke, invoke, isDisposed, nObjectCallbackNativeTypeOf, nObjectPropertyChangedCallbackNativeTypeOf, ref, removeListener, removePropertyChangeListener, reset, resetProperty, save, save, save, save, save, save, save, save, save, save, save, save, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, setFlags, setProperty, setProperty, toHandle, toObject, toString, toString, unref, unrefArray, unrefElementspublic static com.neurotec.lang.NType nativeTypeOf()
public static NSubject fromFile(String fileName) throws IOException
fileName - The name of the file.IOExceptionpublic static NSubject fromFile(String fileName, int flags) throws IOException
fileName - The name of the file.flags - Bitwise combination of zero or more flags that controls behavior of the function.IOExceptionpublic static NSubject fromMemory(ByteBuffer buffer)
buffer - The buffer.public static NSubject fromMemory(com.neurotec.io.NBuffer buffer)
buffer - The buffer.public static NSubject fromMemory(com.neurotec.io.NBuffer buffer, int flags)
buffer - The buffer.flags - Bitwise combination of zero or more flags that controls behavior of the function.public static NSubject fromStream(com.neurotec.io.NStream stream) throws IOException
buffer - The memory stream.IOExceptionpublic static NSubject fromStream(com.neurotec.io.NStream stream, int flags) throws IOException
buffer - The memory stream.flags - Bitwise combination of zero or more flags that controls behavior of the function.IOExceptionpublic static NSubject fromFile(String fileName, short formatOwner, short formatType) throws IOException
fileName - The name of the file.formatOwner - Owner of the file format.formatType - File format type.IOExceptionpublic static NSubject fromFile(String fileName, short formatOwner, short formatType, int flags) throws IOException
fileName - The name of the file.formatOwner - Owner of the file format.formatType - File format type.flags - Bitwise combination of zero or more flags that controls behavior of the function.IOExceptionpublic static NSubject fromMemory(ByteBuffer buffer, short formatOwner, short formatType)
fileName - The buffer.formatOwner - Owner of the buffer format.formatType - Buffer format type.public static NSubject fromMemory(com.neurotec.io.NBuffer buffer, short formatOwner, short formatType)
fileName - The buffer.formatOwner - Owner of the buffer format.formatType - Buffer format type.public static NSubject fromMemory(com.neurotec.io.NBuffer buffer, short formatOwner, short formatType, int flags)
fileName - The buffer.formatOwner - Owner of the buffer format.formatType - Buffer format type.flags - Bitwise combination of zero or more flags that controls behavior of the function.public static NSubject fromStream(com.neurotec.io.NStream stream, short formatOwner, short formatType) throws IOException
fileName - The memory stream.formatOwner - Owner of the memory stream format.formatType - Memory stream format type.IOExceptionpublic static NSubject fromStream(com.neurotec.io.NStream stream, short formatOwner, short formatType, int flags) throws IOException
fileName - The memory stream.formatOwner - Owner of the memory stream format.formatType - Memory stream format type.flags - Bitwise combination of zero or more flags that controls behavior of the function.IOExceptionpublic String getId()
public void setId(String value)
value - Subject's ID.public NGender getGender()
public void setGender(NGender value)
value - Gender of the subject.public NBiometricStatus getStatus()
public String getQueryString()
public void setQueryString(String value)
value - Subject's query string.public com.neurotec.util.NPropertyBag getStatistics()
public boolean isMultipleSubjects()
public void setMultipleSubjects(boolean value)
value - true if the subject consists of multiple NSubjects, else false.public Throwable getError()
public NSubject.FingerCollection getFingers()
public NSubject.FaceCollection getFaces()
public NSubject.IrisCollection getIrises()
public NSubject.PalmCollection getPalms()
public NSubject.VoiceCollection getVoices()
public NSubject.MissingFingerCollection getMissingFingers()
public NSubject.MissingEyeCollection getMissingEyes()
public NSubject.RelatedSubjectCollection getRelatedSubjects()
public NSubject.MatchingResultCollection getMatchingResults()
public void clear()
public NTemplate getTemplate()
public void setTemplate(NTemplate value)
value - The template used by the subject.public void setTemplate(ANTemplate value)
value - The ANTemplate.public void setTemplate(FMRecord value)
value - The FMRecord.public void setTemplate(FIRecord value)
value - The FIRecord.public void setTemplate(FCRecord value)
value - The FCRecord.public void setTemplate(IIRecord value)
value - The IIRecord.public void setTemplate(CBEFFRecord value)
public com.neurotec.io.NBuffer getTemplateBuffer()
@Deprecated public com.neurotec.io.NBuffer getTemplateBuffer(short formatOwner, short formatType)
Owner - of the template format.Template - format type.public com.neurotec.io.NBuffer getTemplateBuffer(short formatOwner,
short formatType,
com.neurotec.util.NVersion version)
Owner - of the template format.Template - format type.version - Standard version used for biometric data block.public void setTemplateBuffer(com.neurotec.io.NBuffer value)
value - The buffer containing templates for the NSubject.public void setTemplateBuffer(com.neurotec.io.NBuffer value,
short formatOwner,
short formatType)
value - The buffer containing templates for the NSubject.Owner - of the template format.Template - format type.public ANTemplate toANTemplate(com.neurotec.util.NVersion version, String tot, String dai, String ori, String tcn)
version - ANTemplate version.tot - Zero terminated string which contains transaction type identifier.dai - Zero terminated string which contains destination agency identifier.ori - Zero terminated string which contains originating agency identifier.tcn - Zero terminated string which contains transaction control identifier.public FCRecord toFCRecord(BDIFStandard standard, com.neurotec.util.NVersion version)
BDIF - standard.Record - version.public FIRecord toFIRecord(BDIFStandard standard, com.neurotec.util.NVersion version)
BDIF - standard.Record - version.public FMRecord toFMRecord(BDIFStandard standard, com.neurotec.util.NVersion version)
BDIF - standard.Record - version.public FMCRecord toFMCRecord(BDIFStandard standard, com.neurotec.util.NVersion version, FMCRMinutiaFormat minutiaFormat)
standard - BDIF standard.version - Record version.minutiaFormat - Record minutia format.public IIRecord toIIRecord(BDIFStandard standard, com.neurotec.util.NVersion version)
BDIF - standard.Record - version.Copyright © 2016 Neurotechnology. All rights reserved.