com.aelitis.azureus.core.metasearch
Class Result
java.lang.Object
com.aelitis.azureus.core.metasearch.Result
- Direct Known Subclasses:
- PluginResult, WebResult
public abstract class Result
- extends Object
Result
protected Result(Engine _engine)
getPublishedDate
public abstract Date getPublishedDate()
getCategory
public abstract String getCategory()
setCategory
public abstract void setCategory(String category)
getContentType
public abstract String getContentType()
setContentType
public abstract void setContentType(String contentType)
getName
public abstract String getName()
getSize
public abstract long getSize()
getNbPeers
public abstract int getNbPeers()
getNbSeeds
public abstract int getNbSeeds()
getNbSuperSeeds
public abstract int getNbSuperSeeds()
getComments
public abstract int getComments()
getVotes
public abstract int getVotes()
getVotesDown
public abstract int getVotesDown()
isPrivate
public abstract boolean isPrivate()
getDRMKey
public abstract String getDRMKey()
getDownloadLink
public abstract String getDownloadLink()
getDownloadButtonLink
public abstract String getDownloadButtonLink()
getCDPLink
public abstract String getCDPLink()
getPlayLink
public abstract String getPlayLink()
getAccuracy
public abstract float getAccuracy()
getSearchQuery
public abstract String getSearchQuery()
getUID
public abstract String getUID()
getHash
public abstract String getHash()
getEngine
public Engine getEngine()
toString
public String toString()
- Overrides:
toString
in class Object
getRank
public float getRank()
- Returns:
- a value between 0 and 1 representing the rank of the result
applyRankBias
protected float applyRankBias(float _rank)
toJSONMap
public Map toJSONMap()
guessContentTypeFromCategory
protected String guessContentTypeFromCategory(String category)
adjustLink
public static String adjustLink(String link)
adjustRelativeTerms
public static void adjustRelativeTerms(Map map)
removeHTMLTags
protected static final String removeHTMLTags(String input)
unescapeEntities
protected static final String unescapeEntities(String input)