org.xnap.search
Interface SearchProvider

All Known Implementing Classes:
FreewayPlugin, GiFTPlugin, JTellaPlugin, LimeWireSearchManager, OpenNapSearchManager, OvernetPlugin, SearchProviderContainer

public interface SearchProvider

Defines the requirements for classes that provide search support.


Method Summary
 java.lang.String getName()
          Returns the name of the search network that is displayed to the user.
 MediaType[] getSupportedMediaTypes()
          Returns an array of MediaType objects that are supported by the provider.
 Search search(SearchFilter filter)
          Invoked when a search is requested.
 

Method Detail

getSupportedMediaTypes

MediaType[] getSupportedMediaTypes()
Returns an array of MediaType objects that are supported by the provider.


getName

java.lang.String getName()
Returns the name of the search network that is displayed to the user.


search

Search search(SearchFilter filter)
Invoked when a search is requested.



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