public final class ANTemplate extends com.neurotec.lang.NObject implements Cloneable
| Modifier and Type | Class and Description |
|---|---|
static class |
ANTemplate.RecordCollection
Represent collection of records in ANTemplate.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
FLAG_LEAVE_INVALID_RECORDS_UNVALIDATED
Leaves invalid records unvalidated.
|
static int |
FLAG_USE_NIST_MINUTIA_NEIGHBORS
Uses NIST minutia neighbors data.
|
static int |
FLAG_USE_TWO_DIGIT_FIELD_NUMBER
This flag is used to set the number of decimal digits in field number to two (e.g.
|
static int |
FLAG_USE_TWO_DIGIT_FIELD_NUMBER_TYPE_1
This flag is used to set the number of digits in IDC fields to two (e.g.
|
static int |
FLAG_USE_TWO_DIGIT_IDC
This flag is used to set the number of decimal digits in field number to two (e.g.
|
static com.neurotec.util.NVersion |
VERSION_20
This ANTemplate version implemets "Data Format for the
Interchange of Fingerprint Information" standard
(ANSI/NIST-CSL 1-1993) format.
|
static com.neurotec.util.NVersion |
VERSION_21
This ANTemplate version implemets "Data Format for the
Interchange of Fingerprint Information" standard
(ANSI/NIST-ITL 1a-1997) format.
|
static com.neurotec.util.NVersion |
VERSION_30
This ANTemplate version implemets "Data Format for the
Interchange of Fingerprint, Facial, & Scar Mark &
Tattoo (SMT) Information that carried the ANSI designation
of ANSI/NIST-ITL 1-2000.
|
static com.neurotec.util.NVersion |
VERSION_40
This ANTemplate version implemets current version of the
standard that carried the ANSI designation of (ANSI/NIST-ITL
1-2007).
|
static com.neurotec.util.NVersion |
VERSION_CURRENT
Defines the current version of standard that ANTemplate
library implements.
|
| Constructor and Description |
|---|
ANTemplate()
Deprecated.
Use
ANTemplate(NVersion, ANValidationLevel) and RecordCollection#add(ANRecord) instead. |
ANTemplate(ByteBuffer buffer,
ANValidationLevel validationLevel)
Initializes a new instance of the ANTemplate class.
|
ANTemplate(InputStream in,
ANValidationLevel validationLevel)
Deprecated.
|
ANTemplate(InputStream in,
ANValidationLevel validationLevel,
int flags)
Deprecated.
|
ANTemplate(int flags)
Deprecated.
Use
ANTemplate(NVersion, ANValidationLevel, int) and RecordCollection#add(ANRecord) instead. |
ANTemplate(com.neurotec.io.NBuffer buffer,
ANValidationLevel validationLevel)
Initializes a new instance of the ANTemplate class.
|
ANTemplate(com.neurotec.io.NBuffer buffer,
ANValidationLevel validationLevel,
int flags)
Initializes a new instance of the ANTemplate class.
|
ANTemplate(com.neurotec.io.NStream stream,
ANValidationLevel validationLevel) |
ANTemplate(com.neurotec.io.NStream stream,
ANValidationLevel validationLevel,
int flags) |
ANTemplate(com.neurotec.util.NVersion version,
ANValidationLevel validationLevel)
Initializes a new instance of the ANTemplate class.
|
ANTemplate(com.neurotec.util.NVersion version,
ANValidationLevel validationLevel,
int flags)
Initializes a new instance of the ANTemplate class.
|
ANTemplate(com.neurotec.util.NVersion version,
String tot,
String dai,
String ori,
String tcn)
Initializes a new instance of the ANTemplate class.
|
ANTemplate(com.neurotec.util.NVersion version,
String tot,
String dai,
String ori,
String tcn,
boolean type9RecordFmt,
NTemplate nTemplate)
Initializes a new instance of the ANTemplate class.
|
ANTemplate(com.neurotec.util.NVersion version,
String tot,
String dai,
String ori,
String tcn,
boolean type9RecordFmt,
NTemplate nTemplate,
int flags)
Initializes a new instance of the ANTemplate class.
|
ANTemplate(com.neurotec.util.NVersion version,
String tot,
String dai,
String ori,
String tcn,
int flags)
Initializes a new instance of the ANTemplate class.
|
ANTemplate(ReadableByteChannel ch,
ANValidationLevel validationLevel)
Deprecated.
|
ANTemplate(ReadableByteChannel ch,
ANValidationLevel validationLevel,
int flags)
Deprecated.
|
ANTemplate(String fileName,
ANValidationLevel validationLevel)
Initializes a new instance of the ANTemplate class.
|
ANTemplate(String fileName,
ANValidationLevel validationLevel,
int flags)
Initializes a new instance of the ANTemplate class.
|
ANTemplate(String tot,
String dai,
String ori,
String tcn)
Deprecated.
Use
ANTemplate(NVersion, String, String, String, String) and RecordCollection#add(ANRecord) instead. |
ANTemplate(String tot,
String dai,
String ori,
String tcn,
boolean type9RecordFmt,
NTemplate nTemplate)
Deprecated.
Use
ANTemplate(NVersion, String, String, String, String, boolean, NTemplate) and RecordCollection#add(ANRecord) instead. |
ANTemplate(String tot,
String dai,
String ori,
String tcn,
boolean type9RecordFmt,
NTemplate nTemplate,
int flags)
Deprecated.
Use
ANTemplate(NVersion, String, String, String, String, boolean, NTemplate, int) and RecordCollection#add(ANRecord) instead. |
ANTemplate(String tot,
String dai,
String ori,
String tcn,
int flags)
Deprecated.
Use
ANTemplate(NVersion, String, String, String, String, int) and RecordCollection#add(ANRecord) instead. |
| Modifier and Type | Method and Description |
|---|---|
ANTemplate.RecordCollection |
getRecords()
Gets particular records from the ANTemplate.
|
ANValidationLevel |
getValidationLevel()
Gets validation level of ANTemplate.
|
com.neurotec.util.NVersion |
getVersion()
Gets NVersion object representing standard version.
|
static String |
getVersionName(com.neurotec.util.NVersion version)
Gets standard version name to which template loaded to memory conforms.
|
static com.neurotec.util.NVersion[] |
getVersions()
Gets versions of standard to which template loaded to memory conforms.
|
static boolean |
isVersionSupported(com.neurotec.util.NVersion version)
Checks if provided standard version is supported by ANTemplate library.
|
static com.neurotec.lang.NType |
nativeTypeOf()
Retrieves the native type for the enclosing class.
|
void |
save(String fileName)
Saves the ANTemplate to the specified file.
|
void |
save(String fileName,
int flags)
Saves the ANTemplate to the specified file.
|
void |
setVersion(com.neurotec.util.NVersion value)
Sets NVersion object representing standard version.
|
NTemplate |
toNTemplate()
Converts ANTemplate to Neurotechnology Template (NTemplate).
|
NTemplate |
toNTemplate(int flags)
Converts ANTemplate to Neurotechnology Template (NTemplate).
|
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 final int FLAG_USE_NIST_MINUTIA_NEIGHBORS
public static final int FLAG_LEAVE_INVALID_RECORDS_UNVALIDATED
public static final int FLAG_USE_TWO_DIGIT_IDC
public static final int FLAG_USE_TWO_DIGIT_FIELD_NUMBER
public static final int FLAG_USE_TWO_DIGIT_FIELD_NUMBER_TYPE_1
public static final com.neurotec.util.NVersion VERSION_20
public static final com.neurotec.util.NVersion VERSION_21
public static final com.neurotec.util.NVersion VERSION_30
public static final com.neurotec.util.NVersion VERSION_40
public static final com.neurotec.util.NVersion VERSION_CURRENT
@Deprecated public ANTemplate()
ANTemplate(NVersion, ANValidationLevel) and RecordCollection#add(ANRecord) instead.@Deprecated public ANTemplate(int flags)
ANTemplate(NVersion, ANValidationLevel, int) and RecordCollection#add(ANRecord) instead.flags - Should be zero.public ANTemplate(com.neurotec.util.NVersion version,
ANValidationLevel validationLevel)
version - Specifies the version of the ANTemplate.validationLevel - Validation level of ANTemplate records.public ANTemplate(com.neurotec.util.NVersion version,
ANValidationLevel validationLevel,
int flags)
version - Specifies the version of the ANTemplate.validationLevel - Validation level of ANTemplate records.flags - Should be zero.@Deprecated public ANTemplate(String tot, String dai, String ori, String tcn, int flags)
ANTemplate(NVersion, String, String, String, String, int) and RecordCollection#add(ANRecord) instead.tot - String which contains transaction type identifier.dai - String which contains destination agency identifier.ori - String which contains originating agency identifier.tcn - String which contains transaction control identifier.flags - Should be zero.@Deprecated public ANTemplate(String tot, String dai, String ori, String tcn)
ANTemplate(NVersion, String, String, String, String) and RecordCollection#add(ANRecord) instead.tot - String which contains transaction type identifier.dai - String which contains destination agency identifier.ori - String which contains originating agency identifier.tcn - String which contains transaction control identifier.public ANTemplate(com.neurotec.util.NVersion version,
String tot,
String dai,
String ori,
String tcn,
int flags)
version - Specifies the version of the ANTemplate.tot - String which contains transaction type identifier.dai - String which contains destination agency identifier.ori - String which contains originating agency identifier.tcn - String which contains transaction control identifier.flags - Should be zero.public ANTemplate(com.neurotec.util.NVersion version,
String tot,
String dai,
String ori,
String tcn)
version - Specifies the version of the ANTemplate.tot - String which contains transaction type identifier.dai - String which contains destination agency identifier.ori - String which contains originating agency identifier.tcn - String which contains transaction control identifier.public ANTemplate(String fileName, ANValidationLevel validationLevel, int flags) throws IOException
fileName - Name of file from which ANTemplate would be initialized.validationLevel - Validation level of ANTemplate records. flags - Should be zero.IOExceptionpublic ANTemplate(String fileName, ANValidationLevel validationLevel) throws IOException
fileName - Name of file from which ANTemplate would be initialized.validationLevel - Validation level of ANTemplate records. IOExceptionpublic ANTemplate(ByteBuffer buffer, ANValidationLevel validationLevel)
buffer - ByteBuffer from which ANTemplate would be initialized.validationLevel - Validation level of ANTemplate records. public ANTemplate(com.neurotec.io.NBuffer buffer,
ANValidationLevel validationLevel)
buffer - NBuffer from which ANTemplate would be initialized.validationLevel - Validation level of ANTemplate records. public ANTemplate(com.neurotec.io.NBuffer buffer,
ANValidationLevel validationLevel,
int flags)
buffer - NBuffer from which ANTemplate would be initialized.validationLevel - Validation level of ANTemplate records. flags - Should be zero.@Deprecated public ANTemplate(InputStream in, ANValidationLevel validationLevel) throws IOException
in - Stream from which ANTemplate would be initialized.validationLevel - Validation level of ANTemplate records. IOException@Deprecated public ANTemplate(InputStream in, ANValidationLevel validationLevel, int flags) throws IOException
in - Stream from which ANTemplate would be initialized.validationLevel - Validation level of ANTemplate records. flags - Should be zero.IOException@Deprecated public ANTemplate(ReadableByteChannel ch, ANValidationLevel validationLevel) throws IOException
ch - Byte channel from which ANTemplate would be initialized.validationLevel - Validation level of ANTemplate records. IOException@Deprecated public ANTemplate(ReadableByteChannel ch, ANValidationLevel validationLevel, int flags) throws IOException
ch - Byte channel from which ANTemplate would be initialized.validationLevel - Validation level of ANTemplate records. flags - Should be zero.IOExceptionpublic ANTemplate(com.neurotec.io.NStream stream,
ANValidationLevel validationLevel)
throws IOException
IOExceptionpublic ANTemplate(com.neurotec.io.NStream stream,
ANValidationLevel validationLevel,
int flags)
throws IOException
IOException@Deprecated public ANTemplate(String tot, String dai, String ori, String tcn, boolean type9RecordFmt, NTemplate nTemplate, int flags)
ANTemplate(NVersion, String, String, String, String, boolean, NTemplate, int) and RecordCollection#add(ANRecord) instead.tot - String which contains transaction type identifier.dai - String which contains destination agency identifier.ori - String which contains originating agency identifier.tcn - String which contains transaction control identifier.type9RecordFmt - Minutiae format flag value. NTrue if minutiae format is standard NFalse otherwise.nTemplate - NTemplate from which ANTemplate would be initialized.flags - Should be zero.@Deprecated public ANTemplate(String tot, String dai, String ori, String tcn, boolean type9RecordFmt, NTemplate nTemplate)
ANTemplate(NVersion, String, String, String, String, boolean, NTemplate) and RecordCollection#add(ANRecord) instead.tot - String which contains transaction type identifier.dai - String which contains destination agency identifier.ori - String which contains originating agency identifier.tcn - String which contains transaction control identifier.type9RecordFmt - Minutiae format flag value. NTrue if minutiae format is standard NFalse otherwise.nTemplate - NTemplate from which ANTemplate would be initialized.public ANTemplate(com.neurotec.util.NVersion version,
String tot,
String dai,
String ori,
String tcn,
boolean type9RecordFmt,
NTemplate nTemplate,
int flags)
tot - String which contains transaction type identifier.dai - String which contains destination agency identifier.ori - String which contains originating agency identifier.tcn - String which contains transaction control identifier.type9RecordFmt - Minutiae format flag value. NTrue if minutiae format is standard NFalse otherwise.nTemplate - NTemplate from which ANTemplate would be initialized.flags - Should be zero.public ANTemplate(com.neurotec.util.NVersion version,
String tot,
String dai,
String ori,
String tcn,
boolean type9RecordFmt,
NTemplate nTemplate)
version - Specifies the version of the ANTemplate.tot - String which contains transaction type identifier.dai - String which contains destination agency identifier.ori - String which contains originating agency identifier.tcn - String which contains transaction control identifier.type9RecordFmt - Minutiae format flag value. NTrue if minutiae format is standard NFalse otherwise.nTemplate - NTemplate from which ANTemplate would be initialized.public static com.neurotec.lang.NType nativeTypeOf()
public static com.neurotec.util.NVersion[] getVersions()
public static boolean isVersionSupported(com.neurotec.util.NVersion version)
version - Version of standard.true if standard version is supported otherwise false.public static String getVersionName(com.neurotec.util.NVersion version)
version - Version of standard.public void save(String fileName) throws IOException
fileName - String which contains file name where ANTemplate will be saved.IOExceptionpublic void save(String fileName, int flags) throws IOException
fileName - String which contains file name where ANTemplate will be saved.flags - Must be zero.IOExceptionpublic NTemplate toNTemplate(int flags)
flags - Must be zero.public NTemplate toNTemplate()
public ANValidationLevel getValidationLevel()
public com.neurotec.util.NVersion getVersion()
public void setVersion(com.neurotec.util.NVersion value)
value - NVersion object.public ANTemplate.RecordCollection getRecords()
Copyright © 2016 Neurotechnology. All rights reserved.