Class PluginResult
java.lang.Object
com.biglybt.core.metasearch.Result
com.biglybt.core.metasearch.impl.plugin.PluginResult
- All Implemented Interfaces:
FilterableResult
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Objectprivate Mapprivate SearchResultprivate String -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPluginResult(PluginEngine _engine, SearchResult _result, String _search_term) -
Method Summary
Modifier and TypeMethodDescriptionfloatprotected booleangetBooleanProperty(int name) protected booleangetBooleanProperty(int name, boolean def) protected byte[]getByteArrayProperty(int name) intgetHash()protected intgetIntProperty(int name) protected longgetLongProperty(int name) protected longgetLongProperty(int name, long def) getName()intintintintfloatgetRank()protected ObjectgetResultProperty(int prop) longgetSize()protected String[]getStringListProperty(int name) protected String[]getStringListProperty(int name, String[] def) protected StringgetStringProperty(int name) protected StringgetStringProperty(int name, String def) String[]getTags()getUID()intgetVotes()intbooleanvoidsetCategory(String category) voidsetContentType(String contentType) Methods inherited from class Result
adjustLink, adjustRelativeTerms, applyRankBias, getEngine, getTime, guessContentTypeFromCategory, removeHTMLTags, toJSONMap, toString, unescapeEntities
-
Field Details
-
NULL_OBJECT
-
result
-
search_term
-
property_cache
-
-
Constructor Details
-
PluginResult
-
-
Method Details
-
getPublishedDate
- Specified by:
getPublishedDatein classResult
-
getAssetDate
- Specified by:
getAssetDatein classResult
-
getCategory
- Specified by:
getCategoryin interfaceFilterableResult- Specified by:
getCategoryin classResult
-
getTags
-
setCategory
- Specified by:
setCategoryin classResult
-
getContentType
- Specified by:
getContentTypein classResult
-
setContentType
- Specified by:
setContentTypein classResult
-
getName
- Specified by:
getNamein interfaceFilterableResult- Specified by:
getNamein classResult
-
getSize
public long getSize()- Specified by:
getSizein interfaceFilterableResult- Specified by:
getSizein classResult
-
getNbPeers
public int getNbPeers()- Specified by:
getNbPeersin interfaceFilterableResult- Specified by:
getNbPeersin classResult
-
getNbSeeds
public int getNbSeeds()- Specified by:
getNbSeedsin interfaceFilterableResult- Specified by:
getNbSeedsin classResult
-
getNbSuperSeeds
public int getNbSuperSeeds()- Specified by:
getNbSuperSeedsin classResult
-
getNbCompleted
public int getNbCompleted()- Specified by:
getNbCompletedin classResult
-
getComments
public int getComments()- Specified by:
getCommentsin classResult
-
getDescription
- Specified by:
getDescriptionin classResult
-
getVotes
-
getVotesDown
public int getVotesDown()- Specified by:
getVotesDownin classResult
-
isPrivate
-
getDRMKey
-
getDownloadLink
- Specified by:
getDownloadLinkin classResult
-
getDownloadButtonLink
- Specified by:
getDownloadButtonLinkin classResult
-
getCDPLink
- Specified by:
getCDPLinkin classResult
-
getPlayLink
- Specified by:
getPlayLinkin classResult
-
getTorrentLink
- Specified by:
getTorrentLinkin classResult
-
getUID
-
getHash
-
getRank
-
getAccuracy
public float getAccuracy()- Specified by:
getAccuracyin classResult
-
getSearchQuery
- Specified by:
getSearchQueryin classResult
-
getIntProperty
protected int getIntProperty(int name) -
getLongProperty
protected long getLongProperty(int name) -
getLongProperty
protected long getLongProperty(int name, long def) -
getBooleanProperty
protected boolean getBooleanProperty(int name) -
getBooleanProperty
protected boolean getBooleanProperty(int name, boolean def) -
getStringProperty
-
getStringProperty
-
getStringListProperty
-
getStringListProperty
-
getByteArrayProperty
protected byte[] getByteArrayProperty(int name) -
getResultProperty
-