資源簡介
JAVA指紋識別(uaru4000B指紋儀)
采集與 驗證功能
放在tomcat下就可以實現
access數據庫

代碼片段和文件信息
//public?class?MatchClassLoader?{
//
// public?MatchClassLoader()
//????{
// String?t?=?Thread.currentThread().getContextClassLoader().getResource(““).getPath();
// System.out.println(t.replace(“%20“?“?“)?+?“Match.dll“);
// System.load(t.replace(“%20“?“?“)?+?“Match.dll“);
// //System.loadLibrary(“Match.dll“);
//????}
//
// public?native?boolean?process(String?a?String?b);
//}
public?class?MatchClassLoader?{
//比對指紋模板本地接口,ARegTemplate是登記模板,AVerTemplate是比對模板,比對成功返回True,失敗返回False。
public??native?boolean?process(String?ARegTemplate?String?AVerTemplate);
public?MatchClassLoader(){}
static{
String?t?=?Thread.currentThread().getContextClassLoader().getResource(““).getPath();
System.out.println(t.replace(“%20“?“?“)?+?“Match.dll“);
System.load(t.replace(“%20“?“?“)?+?“dll2.dll“);
// System.out.println(System.getProperty(“java.library.path“));
// ?????System.loadLibrary(“matchload“);//把Match.dll復制到tomcat_home/bin
}
//使用單例模式,注意這是private?只供內部調用?
private?static?MatchClassLoader?instance?=?new?MatchClassLoader();?
??//這里提供了一個供外部訪問本class的靜態方法,可以直接訪問?
public?static?MatchClassLoader?getInstance()?{?
??return?instance;??
??}
public?static?boolean?match(String?regString?ver){
??if(reg==null?||?ver?==null){
???return?false;
??}else?if(reg.indexOf(“/////“)!=-1?||?ver.indexOf(“/////“)!=-1){
???//System.out.println(“不能有轉義符“);
???//return?false;
??}
??return?MatchClassLoader.getInstance().process(regver);
}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????554535??2003-09-05?10:04??指紋采集驗證\Manual.pdf
?????文件?????????80??2005-08-15?19:12??指紋采集驗證\ZKOnline.lic
?????文件?????717824??2004-08-07?05:41??指紋采集驗證\ZKOnline.ocx
?????文件????????381??2010-08-18?11:16??指紋采集驗證\安裝說明.txt
?????文件????1456991??2006-09-09?10:48??指紋采集驗證\指紋儀驅動程序\setup.exe
?????文件????????416??2010-08-17?14:36??指紋采集驗證\項目\zhiwen\zhiwen\.classpath
?????文件????????291??2010-08-17?14:02??指紋采集驗證\項目\zhiwen\zhiwen\.myme
?????文件???????1224??2010-08-17?14:04??指紋采集驗證\項目\zhiwen\zhiwen\.project
?????文件????????334??2010-08-17?14:02??指紋采集驗證\項目\zhiwen\zhiwen\.settings\org.eclipse.jdt.core.prefs
?????文件?????602112??2010-08-18?08:54??指紋采集驗證\項目\zhiwen\zhiwen\src\Match.dll
?????文件???????1585??2010-08-18?08:55??指紋采集驗證\項目\zhiwen\zhiwen\src\MatchClassLoader.java
?????文件???????1836??2010-08-17?19:50??指紋采集驗證\項目\zhiwen\zhiwen\src\Regedit.java
?????文件???????2090??2010-08-18?11:10??指紋采集驗證\項目\zhiwen\zhiwen\src\Verify.java
?????文件????????192??2010-08-18?11:08??指紋采集驗證\項目\zhiwen\zhiwen\WebRoot\data\BiokeyOnline.ldb
?????文件?????462848??2010-08-18?08:09??指紋采集驗證\項目\zhiwen\zhiwen\WebRoot\data\BiokeyOnline.MDB
?????文件???????1446??2002-11-15?17:14??指紋采集驗證\項目\zhiwen\zhiwen\WebRoot\images\ba01.gif
?????文件?????????78??2002-11-15?17:14??指紋采集驗證\項目\zhiwen\zhiwen\WebRoot\images\bg.gif
?????文件?????????54??2002-11-15?17:14??指紋采集驗證\項目\zhiwen\zhiwen\WebRoot\images\bg1.gif
?????文件????????187??2002-11-15?17:14??指紋采集驗證\項目\zhiwen\zhiwen\WebRoot\images\corncen0.gif
?????文件???????1620??2002-11-15?17:14??指紋采集驗證\項目\zhiwen\zhiwen\WebRoot\images\demo.gif
?????文件?????????52??2002-11-15?17:14??指紋采集驗證\項目\zhiwen\zhiwen\WebRoot\images\dotline_back.gif
?????文件????????182??2002-11-15?17:14??指紋采集驗證\項目\zhiwen\zhiwen\WebRoot\images\download.gif
?????文件????????991??2002-11-15?17:14??指紋采集驗證\項目\zhiwen\zhiwen\WebRoot\images\english.gif
?????文件????????986??2002-11-15?17:14??指紋采集驗證\項目\zhiwen\zhiwen\WebRoot\images\home.gif
?????文件???????6420??2006-08-14?22:59??指紋采集驗證\項目\zhiwen\zhiwen\WebRoot\images\logo.gif
?????文件???????3335??2002-11-15?17:14??指紋采集驗證\項目\zhiwen\zhiwen\WebRoot\images\menu.gif
?????文件???????2539??2002-11-15?17:14??指紋采集驗證\項目\zhiwen\zhiwen\WebRoot\images\menu1.gif
?????文件???????2280??2002-11-15?17:14??指紋采集驗證\項目\zhiwen\zhiwen\WebRoot\images\menu1E.gif
?????文件???????2520??2002-11-15?17:14??指紋采集驗證\項目\zhiwen\zhiwen\WebRoot\images\menu2.gif
?????文件???????2277??2002-11-15?17:14??指紋采集驗證\項目\zhiwen\zhiwen\WebRoot\images\menu2E.gif
............此處省略47個文件信息
- 上一篇:簡單jsp動態頁面增刪改查操作源代碼
- 下一篇:上傳Excel的Demojava代碼
評論
共有 條評論