code: public static Dir fromURL(final URL url, final UrlType... urlTypes) {
          return fromURL(url, Lists.<UrlType>newArrayList(urlTypes));
      }
docs: tries to create a Dir from the given url, using the given urlTypes