Brief about java.net.JarURLConnection class
This class is used to establish a connection to a JAR file or to an entry of the JAR file.
The syntax is
jar:!/{entry}
where the entry is an entry of the jar file such as .class
If the entry is omitted, it refers to the whole JAR file. The developer need to cast the generic URLConnection with JarURLConnecton like
JarURLConnection jarConnection = (JarURLConnection)url.openConnection();