public static Resource create(URI uri) throws URISyntaxException, IOException {
    """
	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!)
    """
    return create(uri, URIResourceFactory.DEFAULT);
  }
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!)
Factory method .