Class PluginResult

    • Field Detail

      • NULL_OBJECT

        private static final java.lang.Object NULL_OBJECT
      • search_term

        private java.lang.String search_term
      • property_cache

        private java.util.Map property_cache
    • Constructor Detail

    • Method Detail

      • getPublishedDate

        public java.util.Date getPublishedDate()
        Specified by:
        getPublishedDate in class Result
      • getAssetDate

        public java.util.Date getAssetDate()
        Specified by:
        getAssetDate in class Result
      • setCategory

        public void setCategory​(java.lang.String category)
        Specified by:
        setCategory in class Result
      • getContentType

        public java.lang.String getContentType()
        Specified by:
        getContentType in class Result
      • setContentType

        public void setContentType​(java.lang.String contentType)
        Specified by:
        setContentType in class Result
      • getNbPeers

        public int getNbPeers()
        Specified by:
        getNbPeers in class Result
      • getVotes

        public int getVotes()
        Specified by:
        getVotes in class Result
      • isPrivate

        public boolean isPrivate()
        Specified by:
        isPrivate in class Result
      • getDRMKey

        public java.lang.String getDRMKey()
        Specified by:
        getDRMKey in class Result
      • getDownloadLink

        public java.lang.String getDownloadLink()
        Specified by:
        getDownloadLink in class Result
      • getCDPLink

        public java.lang.String getCDPLink()
        Specified by:
        getCDPLink in class Result
      • getPlayLink

        public java.lang.String getPlayLink()
        Specified by:
        getPlayLink in class Result
      • getTorrentLink

        public java.lang.String getTorrentLink()
        Specified by:
        getTorrentLink in class Result
      • getUID

        public java.lang.String getUID()
        Specified by:
        getUID in class Result
      • getHash

        public java.lang.String getHash()
        Specified by:
        getHash in class Result
      • getRank

        public float getRank()
        Overrides:
        getRank in class Result
        Returns:
        a value between 0 and 1 representing the rank of the result
      • getAccuracy

        public float getAccuracy()
        Specified by:
        getAccuracy in class Result
      • getSearchQuery

        public java.lang.String getSearchQuery()
        Specified by:
        getSearchQuery in class Result
      • 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

        protected java.lang.String getStringProperty​(int name)
      • getStringProperty

        protected java.lang.String getStringProperty​(int name,
                                                     java.lang.String def)
      • getByteArrayProperty

        protected byte[] getByteArrayProperty​(int name)
      • getResultProperty

        protected java.lang.Object getResultProperty​(int prop)