Class RSSEngine

  • All Implemented Interfaces:
    Engine

    public class RSSEngine
    extends WebEngine
    • Field Detail

      • seed_leecher_pat

        private java.util.regex.Pattern seed_leecher_pat
      • size_pat

        private java.util.regex.Pattern size_pat
    • Constructor Detail

      • RSSEngine

        public RSSEngine​(MetaSearchImpl meta_search,
                         long id,
                         long last_updated,
                         float rank_bias,
                         java.lang.String name,
                         java.lang.String searchURLFormat,
                         boolean needs_auth,
                         java.lang.String auth_method,
                         java.lang.String login_url,
                         java.lang.String[] required_cookies)
      • RSSEngine

        protected RSSEngine​(MetaSearchImpl meta_search,
                            java.util.Map map)
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • RSSEngine

        protected RSSEngine​(MetaSearchImpl meta_search,
                            long id,
                            long last_updated,
                            float rank_bias,
                            java.lang.String name,
                            JSONObject map)
                     throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • importFromBEncodedMap

        public static EngineImpl importFromBEncodedMap​(MetaSearchImpl meta_search,
                                                       java.util.Map map)
                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • importFromJSONString

        public static Engine importFromJSONString​(MetaSearchImpl meta_search,
                                                  long id,
                                                  long last_updated,
                                                  float rank_bias,
                                                  java.lang.String name,
                                                  JSONObject map)
                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • exportToBencodedMap

        public java.util.Map exportToBencodedMap()
                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • exportToBencodedMap

        public java.util.Map exportToBencodedMap​(boolean generic)
                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • linkIsToTorrent

        protected boolean linkIsToTorrent​(java.net.URL url)