Class ListLinkHandlerFactory

    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      ListLinkHandler fromId​(java.lang.String id)  
      ListLinkHandler fromId​(java.lang.String id, java.lang.String baseUrl)  
      ListLinkHandler fromQuery​(java.lang.String id, java.util.List<java.lang.String> contentFilters, java.lang.String sortFilter)  
      ListLinkHandler fromQuery​(java.lang.String id, java.util.List<java.lang.String> contentFilters, java.lang.String sortFilter, java.lang.String baseUrl)  
      ListLinkHandler fromUrl​(java.lang.String url)
      Builds a LinkHandler from a url.
      Be sure to call Utils.followGoogleRedirectIfNeeded(String) on the url if overriding this function.
      ListLinkHandler fromUrl​(java.lang.String url, java.lang.String baseUrl)
      Builds a LinkHandler from an URL and a base URL.
      java.lang.String[] getAvailableContentFilter()
      Will returns content filter the corresponding extractor can handle like "channels", "videos", "music", etc.
      java.lang.String[] getAvailableSortFilter()
      Will returns sort filter the corresponding extractor can handle like "A-Z", "oldest first", "size", etc.
      java.lang.String getUrl​(java.lang.String id)
      For making ListLinkHandlerFactory compatible with LinkHandlerFactory we need to override this, however it should not be overridden by the actual implementation.
      java.lang.String getUrl​(java.lang.String id, java.lang.String baseUrl)  
      abstract java.lang.String getUrl​(java.lang.String id, java.util.List<java.lang.String> contentFilter, java.lang.String sortFilter)  
      java.lang.String getUrl​(java.lang.String id, java.util.List<java.lang.String> contentFilter, java.lang.String sortFilter, java.lang.String baseUrl)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait