Changeset 4214 for trunk/mgpp/java/org/greenstone/mgpp
- Timestamp:
- 2003-05-01T12:04:46+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mgpp/java/org/greenstone/mgpp/MGPPWrapper.java
r3447 r4214 41 41 42 42 /** returns a document: number docnum at level level 43 * t he base_dir and text_path paths should join together toprovide43 * text_path path should provide 44 44 * the absolute location of the mgpp text files eg ..../index/text/demo 45 * returns t ehdoc in utf-845 * returns the doc in utf-8 46 46 */ 47 public native String getDocument(String base_dir, 48 String text_path, 47 public native String getDocument(String text_path, 49 48 String level, 50 49 long docnum ); … … 52 51 /** the public method - converts between utf-8 and unicode 53 52 */ 54 // public String getDocument(String base_dir, 55 // String text_path, 53 // public String getDocument(String text_path, 56 54 // String level, 57 55 // long docnum ) { … … 61 59 /** load up the data structure for index 62 60 * - maintains state between requests as can be slow 63 * base_dir and text_path should join together toprovide61 * index_path should provide 64 62 * the absolute location of the mgpp index files eg ..../index/tt/demo 65 63 */ 66 public native boolean loadIndexData(String base_dir, 67 String index_path); 64 public native boolean loadIndexData(String index_path); 68 65 /** unloads the data */ 69 66 public native boolean unloadIndexData();
Note:
See TracChangeset
for help on using the changeset viewer.