- Timestamp:
- 2007-09-06T13:16:34+12:00 (17 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
indexers/trunk/mgpp/java/org/greenstone/mgpp/MGPPSearchWrapper.java
r14177 r14487 1 1 /* 2 * MGPPSearchWrapper.java 3 * Copyright (C) 2002 New Zealand Digital Library, http://www.nzdl.org 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. 9 * 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program; if not, write to the Free Software 17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 18 */ 2 19 package org.greenstone.mgpp; 3 20 … … 13 30 *@see MGPPQueryResult 14 31 */ 15 public class MGPP Wrapper {32 public class MGPPSearchWrapper { 16 33 17 34 /** the query result … … 24 41 25 42 static { 26 System.loadLibrary("mgpp jni");43 System.loadLibrary("mgppsearchjni"); 27 44 initIDs(); 28 45 } 29 46 30 public MGPP Wrapper() {47 public MGPPSearchWrapper() { 31 48 mgpp_query_result_ = new MGPPQueryResult(); 32 49 initCppSide(); … … 45 62 * returns the doc in utf-8 46 63 */ 47 public native String getDocument(String text_path, 48 String level, 49 long docnum ); 64 //only this method is for search purpose 65 // public native String getDocument(String text_path, 66 // String level, 67 // long docnum ); 50 68 51 69 /** the public method - converts between utf-8 and unicode
Note:
See TracChangeset
for help on using the changeset viewer.