org.linkedin.util-core/src/main/java/org/linkedin/util/io/resource/JarResource.java
public static Resource create(URI uri) throws URISyntaxException, IOException
  {
    return create(uri, URIResourceFactory.DEFAULT);
  }
public static Resource create(URI uri) throws URISyntaxException, IOException
  {
    return create(uri, URIResourceFactory.DEFAULT);
  }
Factory method.

@param uri the uri to the jar... note that it can either be jar: or a plain uri to the
jar (ex: file://tmp/foo.jar and jar:file://tmp/foo.jar!/ are both valid and pointing to the
same resource!)