Class ResourceUrlCreator


  • public class ResourceUrlCreator
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.net.URL> getUrls()
      Returns a list of URLs that the resources might be downloadable from.
      protected java.net.URL getVersionedUrl()
      Returns the URL for this resource, including the resource's version number in the query string
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getUrls

        public java.util.List<java.net.URL> getUrls()
        Returns a list of URLs that the resources might be downloadable from. The Resources may not be downloadable from any of them. The returned order is the order the urls should be attempted in.
        Returns:
        a list of URLs that the resources might be downloadable from
      • getVersionedUrl

        protected java.net.URL getVersionedUrl()
        Returns the URL for this resource, including the resource's version number in the query string
        Returns:
        url with version cared about