net.sf.dictccfe.and
Class SearchExact

java.lang.Object
  extended by net.sf.dictccfe.and.Thr
      extended by net.sf.dictccfe.and.Search
          extended by net.sf.dictccfe.and.SearchExact
All Implemented Interfaces:
java.lang.Runnable

public final class SearchExact
extends Search

Exact searching for keyword descriptions.

Version:
$Revision$
Author:
Daniel Stoinski

Nested Class Summary
 
Nested classes/interfaces inherited from class net.sf.dictccfe.and.Search
Search.DictConfig
 
Constructor Summary
SearchExact()
           
 
Method Summary
protected  void dosearch(android.database.sqlite.SQLiteDatabase aDb, java.lang.CharSequence aKey, ISearchResult aSearchResult)
          Implementation of the exact search for keyword descriptions.
 
Methods inherited from class net.sf.dictccfe.and.Search
getDictConfig, run, search, setDb
 
Methods inherited from class net.sf.dictccfe.and.Thr
getGoon, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchExact

public SearchExact()
Method Detail

dosearch

protected final void dosearch(android.database.sqlite.SQLiteDatabase aDb,
                              java.lang.CharSequence aKey,
                              ISearchResult aSearchResult)
                       throws java.lang.Exception
Implementation of the exact search for keyword descriptions.

Specified by:
dosearch in class Search
Parameters:
aDb - the database in which to search for keyword descriptions.
aKey - the keyword, for which to search for keyword descriptions. Never null.
aSearchResult - interface for result callbacks. May be null.
Throws:
java.lang.Exception - various IOException, UnsupportedEncodingException