org.crosswire.jsword.book.search.lucene
Class BaseQuery

java.lang.Object
  extended by org.crosswire.jsword.book.search.lucene.BaseQuery
All Implemented Interfaces:
Query

public class BaseQuery
extends Object
implements Query

A base token is the smallest unit of search that the index can perform.

Author:
DM Smith [ dmsmith555 at yahoo dot com]
See Also:
for license details. The copyright to this program is held by it's authors.

Field Summary
private  String query
           
 
Constructor Summary
BaseQuery(String theQuery)
           
 
Method Summary
 Key find(Index index)
           
 String getQuery()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

query

private String query
Constructor Detail

BaseQuery

public BaseQuery(String theQuery)
Method Detail

find

public Key find(Index index)
         throws BookException
Specified by:
find in interface Query
Throws:
BookException

getQuery

public String getQuery()
Returns:
the query

Copyright ยจ 2003-2005