com.aelitis.azureus.core.metasearch
Interface MetaSearch

All Known Implementing Classes:
MetaSearchImpl

public interface MetaSearch


Method Summary
 void addEngine(Engine engine)
           
 Engine addEngine(long id)
           
 void addListener(MetaSearchListener listener)
           
 Engine createRSSEngine(java.lang.String name, java.net.URL url)
           
 void enginePreferred(Engine engine)
           
 void exportEngines(java.io.File to_file)
           
 Engine getEngine(long id)
           
 Engine getEngineByUID(java.lang.String uid)
           
 int getEngineCount()
           
 Engine[] getEngines(boolean active_only, boolean ensure_up_to_date)
           
 java.lang.String getFUD()
           
 MetaSearchManager getManager()
           
 Engine importFromBEncodedMap(java.util.Map<java.lang.String,java.lang.Object> map)
           
 void removeEngine(Engine engine)
           
 void removeListener(MetaSearchListener listener)
           
 Engine[] search(Engine[] engine, ResultListener listener, SearchParameter[] searchParameters, java.lang.String headers, int max_per_engine)
           
 Engine[] search(Engine[] engine, ResultListener listener, SearchParameter[] searchParameters, java.lang.String headers, java.util.Map<java.lang.String,java.lang.String> context, int max_per_engine)
           
 Engine[] search(ResultListener listener, SearchParameter[] searchParameters, java.lang.String headers, int max_per_engine)
           
 Engine[] search(ResultListener listener, SearchParameter[] searchParameters, java.lang.String headers, java.util.Map<java.lang.String,java.lang.String> context, int max_per_engine)
           
 

Method Detail

getManager

MetaSearchManager getManager()

importFromBEncodedMap

Engine importFromBEncodedMap(java.util.Map<java.lang.String,java.lang.Object> map)
                             throws java.io.IOException
Throws:
java.io.IOException

search

Engine[] search(ResultListener listener,
                SearchParameter[] searchParameters,
                java.lang.String headers,
                int max_per_engine)

search

Engine[] search(ResultListener listener,
                SearchParameter[] searchParameters,
                java.lang.String headers,
                java.util.Map<java.lang.String,java.lang.String> context,
                int max_per_engine)

search

Engine[] search(Engine[] engine,
                ResultListener listener,
                SearchParameter[] searchParameters,
                java.lang.String headers,
                int max_per_engine)

search

Engine[] search(Engine[] engine,
                ResultListener listener,
                SearchParameter[] searchParameters,
                java.lang.String headers,
                java.util.Map<java.lang.String,java.lang.String> context,
                int max_per_engine)

getFUD

java.lang.String getFUD()

getEngines

Engine[] getEngines(boolean active_only,
                    boolean ensure_up_to_date)

getEngine

Engine getEngine(long id)

getEngineByUID

Engine getEngineByUID(java.lang.String uid)

addEngine

void addEngine(Engine engine)

addEngine

Engine addEngine(long id)
                 throws MetaSearchException
Throws:
MetaSearchException

createRSSEngine

Engine createRSSEngine(java.lang.String name,
                       java.net.URL url)
                       throws MetaSearchException
Throws:
MetaSearchException

removeEngine

void removeEngine(Engine engine)

getEngineCount

int getEngineCount()

enginePreferred

void enginePreferred(Engine engine)

exportEngines

void exportEngines(java.io.File to_file)
                   throws MetaSearchException
Throws:
MetaSearchException

addListener

void addListener(MetaSearchListener listener)

removeListener

void removeListener(MetaSearchListener listener)