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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BundleEntryfindBundleEntry(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, toExternalFormMethods inherited from class java.net.URLStreamHandler
getDefaultPort, openConnection, setURL, setURL
-
Constructor Details
-
Handler
-
-
Method Details
-
findBundleEntry
Description copied from class:BundleResourceHandlerFinds 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:
findBundleEntryin classBundleResourceHandler- Parameters:
url- The URL to find the entry for.module- the module to find the entry for.- Returns:
- the bundle entry
- Throws:
IOException
-