Package aQute.bnd.osgi
Class URLResource.JarURLUtil
- java.lang.Object
-
- java.net.URLConnection
-
- java.net.JarURLConnection
-
- aQute.bnd.osgi.URLResource.JarURLUtil
-
- Enclosing class:
- URLResource
static class URLResource.JarURLUtil extends java.net.JarURLConnection
Use JarURLConnection to parse jar: URL into URL to jar URL and entry.
-
-
Constructor Summary
Constructors Constructor Description JarURLUtil(java.net.URL url)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
connect()
java.util.jar.JarFile
getJarFile()
-
Methods inherited from class java.net.JarURLConnection
getAttributes, getCertificates, getEntryName, getJarEntry, getJarFileURL, getMainAttributes, getManifest
-
Methods inherited from class java.net.URLConnection
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLength, getContentLengthLong, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFieldLong, getHeaderFields, getIfModifiedSince, getInputStream, getLastModified, getOutputStream, getPermission, getReadTimeout, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toString
-
-
-
-
Method Detail
-
getJarFile
public java.util.jar.JarFile getJarFile() throws java.io.IOException
- Specified by:
getJarFile
in classjava.net.JarURLConnection
- Throws:
java.io.IOException
-
connect
public void connect() throws java.io.IOException
- Specified by:
connect
in classjava.net.URLConnection
- Throws:
java.io.IOException
-
-