org.gudy.azureus2.plugins.utils.search
Interface SearchProvider

All Known Implementing Classes:
MetaSearchManagerImpl.engineInfo

public interface SearchProvider


Field Summary
static int PR_DOWNLOAD_LINK_LOCATOR
           
static int PR_ICON_URL
           
static int PR_ID
           
static int PR_NAME
           
static int PR_REFERER
           
static int PR_SUPPORTS_RESULT_FIELDS
           
static int PR_USE_ACCURACY_FOR_RANK
           
static java.lang.String SP_MATURE
           
static java.lang.String SP_MIN_LEECHERS
           
static java.lang.String SP_MIN_SEEDS
           
static java.lang.String SP_NETWORKS
           
static java.lang.String SP_SEARCH_NAME
           
static java.lang.String SP_SEARCH_TERM
           
 
Method Summary
 java.lang.Object getProperty(int property)
           
 SearchInstance search(java.util.Map<java.lang.String,java.lang.Object> search_parameters, SearchObserver observer)
           
 void setProperty(int property, java.lang.Object value)
           
 

Field Detail

PR_ID

static final int PR_ID
See Also:
Constant Field Values

PR_NAME

static final int PR_NAME
See Also:
Constant Field Values

PR_ICON_URL

static final int PR_ICON_URL
See Also:
Constant Field Values

PR_DOWNLOAD_LINK_LOCATOR

static final int PR_DOWNLOAD_LINK_LOCATOR
See Also:
Constant Field Values

PR_REFERER

static final int PR_REFERER
See Also:
Constant Field Values

PR_SUPPORTS_RESULT_FIELDS

static final int PR_SUPPORTS_RESULT_FIELDS
See Also:
Constant Field Values

PR_USE_ACCURACY_FOR_RANK

static final int PR_USE_ACCURACY_FOR_RANK
See Also:
Constant Field Values

SP_SEARCH_NAME

static final java.lang.String SP_SEARCH_NAME
See Also:
Constant Field Values

SP_SEARCH_TERM

static final java.lang.String SP_SEARCH_TERM
See Also:
Constant Field Values

SP_MATURE

static final java.lang.String SP_MATURE
See Also:
Constant Field Values

SP_NETWORKS

static final java.lang.String SP_NETWORKS
See Also:
Constant Field Values

SP_MIN_SEEDS

static final java.lang.String SP_MIN_SEEDS
See Also:
Constant Field Values

SP_MIN_LEECHERS

static final java.lang.String SP_MIN_LEECHERS
See Also:
Constant Field Values
Method Detail

search

SearchInstance search(java.util.Map<java.lang.String,java.lang.Object> search_parameters,
                      SearchObserver observer)
                      throws SearchException
Throws:
SearchException

getProperty

java.lang.Object getProperty(int property)

setProperty

void setProperty(int property,
                 java.lang.Object value)