Class Handler
java.lang.Object
java.net.URLStreamHandler
org.eclipse.equinox.plurl.PlurlStreamHandlerBase
org.eclipse.osgi.storage.url.BundleResourceHandler
org.eclipse.osgi.storage.url.bundleentry.Handler
- All Implemented Interfaces:
PlurlStreamHandler
URLStreamHandler the bundleentry protocol.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.equinox.plurl.PlurlStreamHandler
PlurlStreamHandler.PlurlSetter -
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 org.eclipse.equinox.plurl.PlurlStreamHandlerBase
getDefaultPort, openConnection, parseURL, 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
-