Class Result
java.lang.Object
com.biglybt.core.metasearch.Result
- All Implemented Interfaces:
FilterableResult
- Direct Known Subclasses:
PluginResult, WebResult
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringadjustLink(String link) static voidadjustRelativeTerms(Map map) protected floatapplyRankBias(float _rank) abstract floatabstract Dateabstract Stringabstract Stringabstract intabstract Stringabstract Stringabstract Stringabstract Stringabstract Stringabstract StringgetHash()abstract StringgetName()abstract intabstract intabstract intabstract intabstract Stringabstract DatefloatgetRank()abstract Stringabstract longgetSize()longgetTime()abstract Stringabstract StringgetUID()abstract intgetVotes()abstract intprotected StringguessContentTypeFromCategory(String category) abstract booleanstatic StringremoveHTMLTags(String input) abstract voidsetCategory(String category) abstract voidsetContentType(String contentType) toString()protected static StringunescapeEntities(String input) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface FilterableResult
getTags
-
Field Details
-
HTML_TAGS
- See Also:
-
DUPLICATE_SPACES
- See Also:
-
engine
-
time_created_secs
private final long time_created_secs
-
-
Constructor Details
-
Result
-
-
Method Details
-
getPublishedDate
-
getAssetDate
-
getCategory
- Specified by:
getCategoryin interfaceFilterableResult
-
setCategory
-
getContentType
-
setContentType
-
getName
- Specified by:
getNamein interfaceFilterableResult
-
getSize
public abstract long getSize()- Specified by:
getSizein interfaceFilterableResult
-
getNbPeers
public abstract int getNbPeers()- Specified by:
getNbPeersin interfaceFilterableResult
-
getNbSeeds
public abstract int getNbSeeds()- Specified by:
getNbSeedsin interfaceFilterableResult
-
getNbSuperSeeds
public abstract int getNbSuperSeeds() -
getNbCompleted
public abstract int getNbCompleted() -
getComments
public abstract int getComments() -
getVotes
public abstract int getVotes() -
getVotesDown
public abstract int getVotesDown() -
isPrivate
public abstract boolean isPrivate() -
getDRMKey
-
getDownloadLink
-
getTorrentLink
-
getDownloadButtonLink
-
getCDPLink
-
getPlayLink
-
getAccuracy
public abstract float getAccuracy() -
getSearchQuery
-
getUID
-
getHash
-
getDescription
-
getEngine
-
toString
-
getRank
public float getRank()- Returns:
- a value between 0 and 1 representing the rank of the result
-
applyRankBias
protected float applyRankBias(float _rank) -
toJSONMap
-
guessContentTypeFromCategory
-
getTime
public long getTime()- Specified by:
getTimein interfaceFilterableResult
-
adjustLink
-
adjustRelativeTerms
-
removeHTMLTags
-
unescapeEntities
-