|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ceryle.util.search.Finder
public abstract class Finder
An abstract class to supply search engine support for searching a particular domain of content.
| Field Summary | |
|---|---|
protected Indexer |
m_indexer
|
protected MessageHandler |
mh
|
protected MessageWriter |
mw
|
protected ProgressBar |
progress
|
| Constructor Summary | |
|---|---|
Finder(Indexer indexer,
MessageHandler msghandler,
MessageWriter msgwriter)
Constructor for a Finder. |
|
| Method Summary | |
|---|---|
Indexer |
getIndexer()
Returns the Indexer used by this Finder. |
ProgressBar |
getProgressBar()
Returns the optional ProgressBar, or null if it is not set. |
boolean |
hasProgressBar()
Returns true if the optional ProgressBar has been set. |
abstract SearchHit[] |
search(String queryString)
Searches a given domain using the String queryString, returning an array of SearchHits. |
void |
setProgressBar(ProgressBar progressBar)
Sets an optional ProgressBar to indicate process status. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Indexer m_indexer
protected ProgressBar progress
protected MessageWriter mw
protected MessageHandler mh
| Constructor Detail |
|---|
public Finder(Indexer indexer,
MessageHandler msghandler,
MessageWriter msgwriter)
indexer - the indexer used for the search.msghandler - to process status and other messages.msgwriter - to receive status and other messages.| Method Detail |
|---|
public abstract SearchHit[] search(String queryString)
queryString - the query string used for the search.
public final Indexer getIndexer()
public final boolean hasProgressBar()
public final void setProgressBar(ProgressBar progressBar)
public final ProgressBar getProgressBar()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||