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 Object
private Map
private SearchResult
private String
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
PluginResult
(PluginEngine _engine, SearchResult _result, String _search_term) -
Method Summary
Modifier and TypeMethodDescriptionfloat
protected boolean
getBooleanProperty
(int name) protected boolean
getBooleanProperty
(int name, boolean def) protected byte[]
getByteArrayProperty
(int name) int
getHash()
protected int
getIntProperty
(int name) protected long
getLongProperty
(int name) protected long
getLongProperty
(int name, long def) getName()
int
int
int
int
float
getRank()
protected Object
getResultProperty
(int prop) long
getSize()
protected String[]
getStringListProperty
(int name) protected String[]
getStringListProperty
(int name, String[] def) protected String
getStringProperty
(int name) protected String
getStringProperty
(int name, String def) String[]
getTags()
getUID()
int
getVotes()
int
boolean
void
setCategory
(String category) void
setContentType
(String contentType) Methods inherited from class com.biglybt.core.metasearch.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:
getPublishedDate
in classResult
-
getAssetDate
- Specified by:
getAssetDate
in classResult
-
getCategory
- Specified by:
getCategory
in interfaceFilterableResult
- Specified by:
getCategory
in classResult
-
getTags
-
setCategory
- Specified by:
setCategory
in classResult
-
getContentType
- Specified by:
getContentType
in classResult
-
setContentType
- Specified by:
setContentType
in classResult
-
getName
- Specified by:
getName
in interfaceFilterableResult
- Specified by:
getName
in classResult
-
getSize
public long getSize()- Specified by:
getSize
in interfaceFilterableResult
- Specified by:
getSize
in classResult
-
getNbPeers
public int getNbPeers()- Specified by:
getNbPeers
in interfaceFilterableResult
- Specified by:
getNbPeers
in classResult
-
getNbSeeds
public int getNbSeeds()- Specified by:
getNbSeeds
in interfaceFilterableResult
- Specified by:
getNbSeeds
in classResult
-
getNbSuperSeeds
public int getNbSuperSeeds()- Specified by:
getNbSuperSeeds
in classResult
-
getNbCompleted
public int getNbCompleted()- Specified by:
getNbCompleted
in classResult
-
getComments
public int getComments()- Specified by:
getComments
in classResult
-
getDescription
- Specified by:
getDescription
in classResult
-
getVotes
public int getVotes() -
getVotesDown
public int getVotesDown()- Specified by:
getVotesDown
in classResult
-
isPrivate
public boolean isPrivate() -
getDRMKey
-
getDownloadLink
- Specified by:
getDownloadLink
in classResult
-
getDownloadButtonLink
- Specified by:
getDownloadButtonLink
in classResult
-
getCDPLink
- Specified by:
getCDPLink
in classResult
-
getPlayLink
- Specified by:
getPlayLink
in classResult
-
getTorrentLink
- Specified by:
getTorrentLink
in classResult
-
getUID
-
getHash
-
getRank
public float getRank() -
getAccuracy
public float getAccuracy()- Specified by:
getAccuracy
in classResult
-
getSearchQuery
- Specified by:
getSearchQuery
in 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
-