Example usage for Java java.net JarURLConnection fields, constructors, methods, implement or subclass
The text is from its open source code.
void | connect() Opens a communications link to the resource referenced by this URL, if such a connection has not already been established. |
Attributes | getAttributes() Return the Attributes object for this connection if the URL for it points to a JAR file entry, null otherwise. |
java.security.cert.Certificate[] | getCertificates() Returns the Certificate objects for this connection if the URL for it points to a JAR file entry, null otherwise. |
int | getContentLength() Returns the value of the content-length header field. |
String | getEntryName() Return the entry name for this connection. |
InputStream | getInputStream() Returns an input stream that reads from this open connection. |
JarEntry | getJarEntry() Return the JAR entry object for this connection, if any. |
JarFile | getJarFile() Return the JAR file for this connection. |
URL | getJarFileURL() Returns the URL for the Jar file for this connection. |
Attributes | getMainAttributes() Returns the main Attributes for the JAR file for this connection. |
Manifest | getManifest() Returns the Manifest for this connection, or null if none. |
boolean | getUseCaches() Returns the value of this URLConnection 's useCaches field. |
void | setUseCaches(boolean usecaches) Sets the value of the useCaches field of this URLConnection to the specified value. |