|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Engine
Field Summary | |
---|---|
static int |
AUTO_DL_SUPPORTED_NO
|
static int |
AUTO_DL_SUPPORTED_UNKNOWN
|
static int |
AUTO_DL_SUPPORTED_YES
|
static int |
AZ_VERSION
AZ_VERSION: 1: Original 2: field value substitution in JSON engine type using ${FIELD_ID} 3: field value substitution in REGEX engine type using ${FIELD_NO} 4: JSON engine now supports [x] in Entry Path, where x is the array index 5: JSON and REGEX support functions in ${FIELD_ID} or ${FIELD_NO}, such as ${1,ucase} ${1,lcase} ${1,urldecode} ${1,replace,fromRegex,toText} ${1,lcase+urldecode} |
static java.lang.String |
CT_AUDIO
|
static java.lang.String |
CT_GAME
|
static java.lang.String |
CT_VIDEO
|
static int |
ENGINE_SOURCE_LOCAL
|
static int |
ENGINE_SOURCE_RSS
|
static java.lang.String[] |
ENGINE_SOURCE_STRS
don't change these as they are externalised |
static int |
ENGINE_SOURCE_UNKNOWN
|
static int |
ENGINE_SOURCE_VUZE
|
static int |
ENGINE_TYPE_JSON
|
static int |
ENGINE_TYPE_PLUGIN
|
static int |
ENGINE_TYPE_REGEX
|
static int |
ENGINE_TYPE_RSS
|
static java.lang.String[] |
ENGINE_TYPE_STRS
|
static int |
FIELD_CATEGORY
|
static int |
FIELD_CDPLINK
|
static int |
FIELD_COMMENTS
|
static int |
FIELD_CONTENT_TYPE
|
static int |
FIELD_DATE
|
static int |
FIELD_DISCARD
|
static int |
FIELD_DOWNLOADBTNLINK
|
static int |
FIELD_DRMKEY
|
static int |
FIELD_HASH
|
static int[] |
FIELD_IDS
|
static int |
FIELD_NAME
|
static java.lang.String[] |
FIELD_NAMES
|
static int |
FIELD_PEERS
|
static int |
FIELD_PLAYLINK
|
static int |
FIELD_PRIVATE
|
static int |
FIELD_RANK
|
static int |
FIELD_SEEDS
|
static int |
FIELD_SIZE
|
static int |
FIELD_SUPERSEEDS
|
static int |
FIELD_TORRENTLINK
|
static int |
FIELD_VOTES
|
static int |
FIELD_VOTES_DOWN
|
static java.lang.String |
SC_AZID
|
static java.lang.String |
SC_BATCH_PERIOD
|
static java.lang.String |
SC_FORCE_FULL
|
static java.lang.String |
SC_REMOVE_DUP_HASH
|
static java.lang.String |
SC_SOURCE
|
static int |
SEL_STATE_AUTO_SELECTED
|
static int |
SEL_STATE_DESELECTED
|
static int |
SEL_STATE_FORCE_DESELECTED
|
static int |
SEL_STATE_MANUAL_SELECTED
|
static java.lang.String[] |
SEL_STATE_STRINGS
|
static java.lang.Object |
VUZE_FILE_COMPONENT_ENGINE_KEY
|
Method Summary | |
---|---|
void |
addPotentialAssociation(java.lang.String key)
|
float |
applyRankBias(float rank)
|
void |
checkSelectionStateRecorded()
|
void |
delete()
|
java.util.Map<java.lang.String,java.lang.Object> |
exportToBencodedMap()
|
java.util.Map<java.lang.String,java.lang.Object> |
exportToBencodedMap(boolean generic)
|
java.lang.String |
exportToJSONString()
|
VuzeFile |
exportToVuzeFile()
|
void |
exportToVuzeFile(java.io.File target)
|
int |
getAutoDownloadSupported()
|
int |
getAZVersion()
|
java.lang.String |
getDownloadLinkCSS()
|
java.lang.String |
getIcon()
|
long |
getId()
|
long |
getLastUpdated()
|
java.lang.String |
getName()
|
java.lang.String |
getNameEx()
|
float |
getPreferredWeighting()
|
float |
getRankBias()
|
java.lang.String |
getReferer()
|
int |
getSelectionState()
|
int |
getSource()
|
java.lang.String |
getString()
|
Subscription |
getSubscription()
|
int |
getType()
|
java.lang.String |
getUID()
|
int |
getVersion()
|
boolean |
isActive()
|
boolean |
isAnonymous()
|
boolean |
isAuthenticated()
|
boolean |
isMine()
|
boolean |
isPublic()
|
boolean |
isShareable()
|
void |
recordSelectionState()
|
void |
reset()
resets to initial state (e.g. |
boolean |
sameLogicAs(Engine other)
Tests for sameness in terms of function (ignores id, selection state etc) |
Result[] |
search(SearchParameter[] searchParameters,
java.util.Map context,
int desired_max_matches,
int absolute_max_matches,
java.lang.String headers,
ResultListener listener)
|
void |
setMine(boolean mine)
|
void |
setPreferredDelta(float delta)
|
void |
setRankBias(float bias)
|
void |
setSelectionState(int state)
|
void |
setSource(int source)
|
boolean |
supportsContext(java.lang.String context_key)
|
boolean |
supportsField(int field_id)
|
Field Detail |
---|
static final int AZ_VERSION
static final java.lang.Object VUZE_FILE_COMPONENT_ENGINE_KEY
static final int FIELD_NAME
static final int FIELD_DATE
static final int FIELD_SIZE
static final int FIELD_PEERS
static final int FIELD_SEEDS
static final int FIELD_CATEGORY
static final int FIELD_COMMENTS
static final int FIELD_CONTENT_TYPE
static final int FIELD_DISCARD
static final int FIELD_VOTES
static final int FIELD_SUPERSEEDS
static final int FIELD_PRIVATE
static final int FIELD_DRMKEY
static final int FIELD_VOTES_DOWN
static final int FIELD_TORRENTLINK
static final int FIELD_CDPLINK
static final int FIELD_PLAYLINK
static final int FIELD_DOWNLOADBTNLINK
static final int FIELD_HASH
static final int FIELD_RANK
static final int[] FIELD_IDS
static final java.lang.String[] FIELD_NAMES
static final int ENGINE_TYPE_REGEX
static final int ENGINE_TYPE_JSON
static final int ENGINE_TYPE_PLUGIN
static final int ENGINE_TYPE_RSS
static final int ENGINE_SOURCE_UNKNOWN
static final int ENGINE_SOURCE_VUZE
static final int ENGINE_SOURCE_LOCAL
static final int ENGINE_SOURCE_RSS
static final int SEL_STATE_DESELECTED
static final int SEL_STATE_AUTO_SELECTED
static final int SEL_STATE_MANUAL_SELECTED
static final int SEL_STATE_FORCE_DESELECTED
static final int AUTO_DL_SUPPORTED_UNKNOWN
static final int AUTO_DL_SUPPORTED_YES
static final int AUTO_DL_SUPPORTED_NO
static final java.lang.String[] ENGINE_SOURCE_STRS
static final java.lang.String[] SEL_STATE_STRINGS
static final java.lang.String[] ENGINE_TYPE_STRS
static final java.lang.String SC_SOURCE
static final java.lang.String SC_AZID
static final java.lang.String SC_FORCE_FULL
static final java.lang.String SC_BATCH_PERIOD
static final java.lang.String SC_REMOVE_DUP_HASH
static final java.lang.String CT_VIDEO
static final java.lang.String CT_AUDIO
static final java.lang.String CT_GAME
Method Detail |
---|
int getType()
Result[] search(SearchParameter[] searchParameters, java.util.Map context, int desired_max_matches, int absolute_max_matches, java.lang.String headers, ResultListener listener) throws SearchException
SearchException
java.lang.String getName()
java.lang.String getNameEx()
long getId()
java.lang.String getUID()
int getVersion()
long getLastUpdated()
java.lang.String getIcon()
java.lang.String getDownloadLinkCSS()
boolean isActive()
boolean isMine()
boolean isPublic()
void setMine(boolean mine)
int getSelectionState()
void setSelectionState(int state)
void recordSelectionState()
void checkSelectionStateRecorded()
int getSource()
void setSource(int source)
java.lang.String getReferer()
float getRankBias()
void setRankBias(float bias)
void setPreferredDelta(float delta)
float getPreferredWeighting()
float applyRankBias(float rank)
boolean supportsField(int field_id)
boolean supportsContext(java.lang.String context_key)
boolean isShareable()
boolean isAnonymous()
boolean isAuthenticated()
int getAutoDownloadSupported()
int getAZVersion()
void addPotentialAssociation(java.lang.String key)
Subscription getSubscription()
java.util.Map<java.lang.String,java.lang.Object> exportToBencodedMap() throws java.io.IOException
java.io.IOException
java.util.Map<java.lang.String,java.lang.Object> exportToBencodedMap(boolean generic) throws java.io.IOException
java.io.IOException
java.lang.String exportToJSONString() throws java.io.IOException
java.io.IOException
void exportToVuzeFile(java.io.File target) throws java.io.IOException
java.io.IOException
VuzeFile exportToVuzeFile() throws java.io.IOException
java.io.IOException
boolean sameLogicAs(Engine other)
other
-
void reset()
void delete()
java.lang.String getString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |