net.sf.dictccfe.and
Class SearchSimilar

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

public final class SearchSimilar
extends Search

Exact searching for keywords similar to the given one.

Version:
$Revision$
Author:
Daniel Stoinski

Nested Class Summary
 
Nested classes/interfaces inherited from class net.sf.dictccfe.and.Search
Search.DictConfig
 
Constructor Summary
SearchSimilar()
          Initializes an empty object.
 
Method Summary
protected  void dosearch(android.database.sqlite.SQLiteDatabase aDb, java.lang.CharSequence aKey, ISearchResult aSearchResult)
          Implementation of the searching for similar keywords.
 
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

SearchSimilar

public SearchSimilar()
Initializes an empty object.

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 searching for similar keywords.

Specified by:
dosearch in class Search
Parameters:
aDb - the database in which to search for keywords.
aKey - the keyword, for which to search for similar keywords. Never null.
aSearchResult - interface for result callbacks. May be null.
Throws:
java.lang.Exception - shouldn't happen.