org.xnap.search
Class LibrarySearch

java.lang.Object
  extended by org.xnap.search.AbstractSearch
      extended by org.xnap.search.LibrarySearch
All Implemented Interfaces:
Search

public class LibrarySearch
extends AbstractSearch

This class searches the local library


Nested Class Summary
 class LibrarySearch.SearchRunner
           
 
Constructor Summary
LibrarySearch(SearchFilter filter)
          Constructs the search object.
 
Method Summary
 java.lang.String getStatus()
          Returns a string that describes the current status.
 boolean isDone()
          Returns true, if this search is finished and can not be started again.
 void start(SearchHandler handler)
          Starts this search.
 void stop()
          Cancels this search.
 
Methods inherited from class org.xnap.search.AbstractSearch
getActions, getFilter, getName, showTree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LibrarySearch

public LibrarySearch(SearchFilter filter)
Constructs the search object.

Parameters:
filter - the search filter
Method Detail

getStatus

public java.lang.String getStatus()
Description copied from interface: Search
Returns a string that describes the current status.


isDone

public boolean isDone()
Description copied from interface: Search
Returns true, if this search is finished and can not be started again.


start

public void start(SearchHandler handler)
Description copied from interface: Search
Starts this search.

Parameters:
handler - the object that handles the results

stop

public void stop()
Description copied from interface: Search
Cancels this search.



Copyright © 2001-2005 XNap Team. All Rights Reserved.