FingerTemplate.fromFile Method¶
Module: FingerTemplate
Definition¶
Imports the finger template object from a file.
@staticmethod
from_file(format: FingerTemplateFormat, path: str) -> FingerTemplate
Parameters
format
FingerTemplateFormatin Finger template buffer type to import the finger template object from.path
strin Path to the file to import the finger template object from.
Returns
The newly created finger template.
Exceptions
An error has occurred during Finger Library execution.
static FingerTemplate fromFile(FingerTemplateFormat format, String? path)
Parameters
format
FingerTemplateFormatin Finger template buffer type to import the finger template object from.path
Stringin Path to the file to import the finger template object from.
Returns
The newly created finger template.
Exceptions
An error has occurred during Finger Library execution.
public static FingerTemplate FromFile(FingerTemplateFormat format, string path)
Parameters
format
FingerTemplateFormatin Finger template buffer type to import the finger template object from.path
stringin Path to the file to import the finger template object from.
Returns
The newly created finger template.
Exceptions
An error has occurred during Finger Library execution.
public static FingerTemplate fromFile(FingerTemplateFormat format, String path) throws FingerException
Parameters
format
FingerTemplateFormatin Finger template buffer type to import the finger template object from.path
Stringin Path to the file to import the finger template object from.
Returns
The newly created finger template.
Exceptions
An error has occurred during Finger Library execution.
public static func fromFile(format: FingerTemplateFormat, path: String) throws -> FingerTemplate
Parameters
format
FingerTemplateFormatin Finger template buffer type to import the finger template object from.path
Stringin Path to the file to import the finger template object from.
Returns
The newly created finger template.
Exceptions
An error has occurred during Finger Library execution.
int id3FingerTemplate_FromFile (
ID3_FINGER_TEMPLATE hFingerTemplate,
id3FingerTemplateFormat eFormat,
const char * path)
Parameters
hFingerTemplate
ID3_FINGER_TEMPLATEin Handle to the FingerTemplate object.eFormat
id3FingerTemplateFormatin Finger template buffer type to import the finger template object from.path
const char *in Path to the file to import the finger template object from.
Returns