Changeset 2257


Ignore:
Timestamp:
2001-04-02T21:32:02+12:00 (23 years ago)
Author:
daven
Message:

added isStemming and isCaseFolding as accessor methods to
provide symmetry with the new set methods.
Didn't delete the string versions - but I don't see a good reason
to keep them...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/java-client/org/nzdl/gsdl/service/NzdlQuery.java

    r2254 r2257  
    210210  }
    211211
     212    public boolean isCaseFolding() {
     213    return ((String)m_Options.get("CaseFold") == "true");
     214    }
     215
    212216  /**
    213217  * Returns "true" if query ignores word endings. Default is "false".
     
    218222    return (String)m_Options.get("Stem");
    219223  }
     224
     225    public boolean isStemming() {
     226    return ((String)m_Options.get("Stem") == "true");
     227    }
     228
    220229
    221230    /**
Note: See TracChangeset for help on using the changeset viewer.