Class Handler
java.lang.Object
java.net.URLStreamHandler
org.eclipse.osgi.storage.url.BundleResourceHandler
org.eclipse.osgi.storage.url.bundleentry.Handler
URLStreamHandler the bundleentry protocol.
-
Field Summary
Fields inherited from class org.eclipse.osgi.storage.url.BundleResourceHandler
BID_FWKID_SEPARATOR, bundleEntry, container, OSGI_ENTRY_URL_PROTOCOL, OSGI_RESOURCE_URL_PROTOCOL, SECURITY_CHECKED, SECURITY_UNCHECKED
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected BundleEntry
findBundleEntry
(URL url, Module module) Finds the bundle entry for this protocal.Methods inherited from class org.eclipse.osgi.storage.url.BundleResourceHandler
checkAuthorization, createURLHostForBundleID, equals, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, toExternalForm
Methods inherited from class java.net.URLStreamHandler
getDefaultPort, openConnection, setURL, setURL
-
Constructor Details
-
Handler
-
-
Method Details
-
findBundleEntry
Description copied from class:BundleResourceHandler
Finds the bundle entry for this protocal. This is handled differently for Bundle.gerResource() and Bundle.getEntry() because getResource uses the bundle classloader and getEntry only used the base bundle file.- Specified by:
findBundleEntry
in classBundleResourceHandler
- Parameters:
url
- The URL to find the entry for.module
- the module to find the entry for.- Returns:
- the bundle entry
- Throws:
IOException
-