org.crosswire.jsword.book.search.lucene
Class RangeQuery
java.lang.Object
org.crosswire.jsword.book.search.lucene.RangeQuery
- All Implemented Interfaces:
- Query
public class RangeQuery
- extends Object
- implements Query
A range token specifies how a range should be included in the search.
It provides a range, a modifier (AND [+] or AND NOT [-]).
- Author:
- DM Smith [ dmsmith555 at yahoo dot com]
- See Also:
for license details.
The copyright to this program is held by it's authors.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
range
private String range
RangeQuery
public RangeQuery(String theRange)
find
public Key find(Index index)
throws BookException
- Specified by:
find
in interface Query
- Throws:
BookException
getRange
public String getRange()
- Returns:
- the range