List of usage examples for java.net JarURLConnection getAttributes
public Attributes getAttributes() throws IOException
From source file:Main.java
public static void main(String[] argv) throws Exception { URL url = new URL("jar:file:/c://my.jar!/"); JarURLConnection conn = (JarURLConnection) url.openConnection(); Attributes attrs = conn.getAttributes(); }
From source file:Main.java
public static void main(String[] argv) throws Exception { URL url = new URL("jar:file:/c://my.jar!/"); JarURLConnection conn = (JarURLConnection) url.openConnection(); Attributes attrs = conn.getAttributes(); Certificate[] certs = conn.getCertificates(); }