Class Result

java.lang.Object
com.biglybt.core.metasearch.Result
All Implemented Interfaces:
FilterableResult
Direct Known Subclasses:
PluginResult, WebResult

public abstract class Result extends Object implements FilterableResult
  • Field Details

  • Constructor Details

    • Result

      protected Result(Engine _engine)
  • Method Details

    • getPublishedDate

      public abstract Date getPublishedDate()
    • getAssetDate

      public abstract Date getAssetDate()
    • getCategory

      public abstract String getCategory()
      Specified by:
      getCategory in interface FilterableResult
    • setCategory

      public abstract void setCategory(String category)
    • getContentType

      public abstract String getContentType()
    • setContentType

      public abstract void setContentType(String contentType)
    • getName

      public abstract String getName()
      Specified by:
      getName in interface FilterableResult
    • getSize

      public abstract long getSize()
      Specified by:
      getSize in interface FilterableResult
    • getNbPeers

      public abstract int getNbPeers()
      Specified by:
      getNbPeers in interface FilterableResult
    • getNbSeeds

      public abstract int getNbSeeds()
      Specified by:
      getNbSeeds in interface FilterableResult
    • 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

      public abstract String getDRMKey()
    • getDownloadLink

      public abstract String getDownloadLink()
    • getTorrentLink

      public abstract String getTorrentLink()
    • 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)
    • getTime

      public long getTime()
      Specified by:
      getTime in interface FilterableResult
    • adjustLink

      public static String adjustLink(String link)
    • adjustRelativeTerms

      public static void adjustRelativeTerms(Map map)
    • removeHTMLTags

      public static String removeHTMLTags(String input)
    • unescapeEntities

      protected static String unescapeEntities(String input)