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(String name,
URL url)
|
void |
enginePreferred(Engine engine)
|
void |
exportEngines(File to_file)
|
Engine |
getEngine(long id)
|
Engine |
getEngineByUID(String uid)
|
int |
getEngineCount()
|
Engine[] |
getEngines(boolean active_only,
boolean ensure_up_to_date)
|
String |
getFUD()
|
Engine |
importFromBEncodedMap(Map<String,Object> map)
|
void |
removeEngine(Engine engine)
|
void |
removeListener(MetaSearchListener listener)
|
Engine[] |
search(Engine[] engine,
ResultListener listener,
SearchParameter[] searchParameters,
String headers,
int max_per_engine)
|
Engine[] |
search(Engine[] engine,
ResultListener listener,
SearchParameter[] searchParameters,
String headers,
Map<String,String> context,
int max_per_engine)
|
Engine[] |
search(ResultListener listener,
SearchParameter[] searchParameters,
String headers,
int max_per_engine)
|
Engine[] |
search(ResultListener listener,
SearchParameter[] searchParameters,
String headers,
Map<String,String> context,
int max_per_engine)
|
importFromBEncodedMap
Engine importFromBEncodedMap(Map<String,Object> map)
throws IOException
- Throws:
IOException
search
Engine[] search(ResultListener listener,
SearchParameter[] searchParameters,
String headers,
int max_per_engine)
search
Engine[] search(ResultListener listener,
SearchParameter[] searchParameters,
String headers,
Map<String,String> context,
int max_per_engine)
search
Engine[] search(Engine[] engine,
ResultListener listener,
SearchParameter[] searchParameters,
String headers,
int max_per_engine)
search
Engine[] search(Engine[] engine,
ResultListener listener,
SearchParameter[] searchParameters,
String headers,
Map<String,String> context,
int max_per_engine)
getFUD
String getFUD()
getEngines
Engine[] getEngines(boolean active_only,
boolean ensure_up_to_date)
getEngine
Engine getEngine(long id)
getEngineByUID
Engine getEngineByUID(String uid)
addEngine
void addEngine(Engine engine)
addEngine
Engine addEngine(long id)
throws MetaSearchException
- Throws:
MetaSearchException
createRSSEngine
Engine createRSSEngine(String name,
URL url)
throws MetaSearchException
- Throws:
MetaSearchException
removeEngine
void removeEngine(Engine engine)
getEngineCount
int getEngineCount()
enginePreferred
void enginePreferred(Engine engine)
exportEngines
void exportEngines(File to_file)
throws MetaSearchException
- Throws:
MetaSearchException
addListener
void addListener(MetaSearchListener listener)
removeListener
void removeListener(MetaSearchListener listener)