?? javatobiokey.java
字號(hào):
package zk.jni;
/************************************************
JavaToBiokey
JNI 接口對(duì)象
2008.11 By sky
fingerprinter@126.com
If you needs the tec please conn mb:13598873075 Li
*************************************************/
public class JavaToBiokey{
//DLL庫函數(shù)接口
public native boolean NativeToProcess(String ARegTemplate, String AVerTemplate);
public native void NativeToSetThreshold(int AThreshold, int AOneToOneThreshold);
public native void NativeTest(int i, String str);
//調(diào)用庫函數(shù)接口,確認(rèn)參數(shù)有效
public boolean ToProcess(String ARegTemplate, String AVerTemplate)
{
try
{
// System.out.println("調(diào)用比對(duì)指紋函數(shù)!");
//System.out.println(NativeToProcess(ARegTemplate, AVerTemplate));
return NativeToProcess(ARegTemplate, AVerTemplate);
}catch(Exception e)
{
return false;
}
}
public void ToSetThreshold(int AThreshold, int AOneToOneThreshold)
{
try
{
NativeToSetThreshold(AThreshold, AOneToOneThreshold);
}catch(Exception e)
{
;
}
}
public void NativeTest1(int i, String str)
{
try
{
NativeTest(i, str);
}catch(Exception e)
{
;
}
}
static
{
//加載動(dòng)態(tài)庫
System.loadLibrary("matchdll"); //
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -