Changeset 4214


Ignore:
Timestamp:
2003-05-01T12:04:46+12:00 (21 years ago)
Author:
kjdon
Message:

fixed up some left over stuff from changing the mgpp basepath stuff (to make it work on windows)

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/indexers/mgpp/java/org/greenstone/mgpp/MGPPWrapper.java

    r3447 r4214  
    4141
    4242    /** returns a document: number docnum at level level
    43      * the base_dir and text_path paths should join together to provide
     43     * text_path path should provide
    4444     * the absolute location of the mgpp text files eg ..../index/text/demo
    45      * returns teh doc in utf-8
     45     * returns the doc in utf-8
    4646     */
    47     public native String getDocument(String base_dir,
    48                      String text_path,
     47    public native String getDocument(String text_path,
    4948                     String level,
    5049                     long docnum );
     
    5251    /** the public method - converts between utf-8 and unicode
    5352     */
    54     // public String getDocument(String base_dir,
    55     //            String text_path,
     53    // public String getDocument(String text_path,
    5654    //            String level,
    5755    //            long docnum ) {
     
    6159    /** load up the data structure for index
    6260     * - maintains state between requests as can be slow 
    63      * base_dir and text_path should join together to provide
     61     * index_path should provide
    6462     * the absolute location of the mgpp index files eg ..../index/tt/demo
    6563     */
    66     public native boolean loadIndexData(String base_dir,
    67                     String index_path);
     64    public native boolean loadIndexData(String index_path);
    6865    /** unloads the data */
    6966    public native boolean unloadIndexData();
  • trunk/mgpp/java/org/greenstone/mgpp/MGPPWrapper.java

    r3447 r4214  
    4141
    4242    /** returns a document: number docnum at level level
    43      * the base_dir and text_path paths should join together to provide
     43     * text_path path should provide
    4444     * the absolute location of the mgpp text files eg ..../index/text/demo
    45      * returns teh doc in utf-8
     45     * returns the doc in utf-8
    4646     */
    47     public native String getDocument(String base_dir,
    48                      String text_path,
     47    public native String getDocument(String text_path,
    4948                     String level,
    5049                     long docnum );
     
    5251    /** the public method - converts between utf-8 and unicode
    5352     */
    54     // public String getDocument(String base_dir,
    55     //            String text_path,
     53    // public String getDocument(String text_path,
    5654    //            String level,
    5755    //            long docnum ) {
     
    6159    /** load up the data structure for index
    6260     * - maintains state between requests as can be slow 
    63      * base_dir and text_path should join together to provide
     61     * index_path should provide
    6462     * the absolute location of the mgpp index files eg ..../index/tt/demo
    6563     */
    66     public native boolean loadIndexData(String base_dir,
    67                     String index_path);
     64    public native boolean loadIndexData(String index_path);
    6865    /** unloads the data */
    6966    public native boolean unloadIndexData();
Note: See TracChangeset for help on using the changeset viewer.