public static URL extractJarURL ( URL url ) throws IOException { JarURLConnection connection = ( JarURLConnection ) url . openConnection ( ) ; return connection . getJarFileURL ( ) ; }
Extract URL part that corresponds to jar portion of the given url .