Class LinkHandlerFactory

    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      boolean acceptUrl​(java.lang.String url)
      When a VIEW_ACTION is caught this function will test if the url delivered within the calling Intent was meant to be watched with this Service.
      LinkHandler fromId​(java.lang.String id)  
      LinkHandler fromId​(java.lang.String id, java.lang.String baseUrl)  
      LinkHandler 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.
      LinkHandler fromUrl​(java.lang.String url, java.lang.String baseUrl)
      Builds a LinkHandler from an URL and a base URL.
      abstract java.lang.String getId​(java.lang.String url)  
      abstract java.lang.String getUrl​(java.lang.String id)  
      java.lang.String getUrl​(java.lang.String id, java.lang.String baseUrl)  
      abstract boolean onAcceptUrl​(java.lang.String url)  
      • Methods inherited from class java.lang.Object

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