org.eclipse.osgi.framework.internal.protocol.bundleentry
Class Handler
java.lang.Object
java.net.URLStreamHandler
org.eclipse.osgi.framework.internal.core.BundleResourceHandler
org.eclipse.osgi.framework.internal.protocol.bundleentry.Handler
- All Implemented Interfaces:
- ProtocolActivator
public class Handler
- extends BundleResourceHandler
URLStreamHandler the bundleentry protocol.
| Methods inherited from class org.eclipse.osgi.framework.internal.core.BundleResourceHandler |
checkAuthorization, equals, getBundleClassLoader, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, start, toExternalForm |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Handler
public Handler()
- Constructor for a bundle protocol resource URLStreamHandler.
Handler
public Handler(BundleEntry bundleEntry,
BaseAdaptor adaptor)
findBundleEntry
protected BundleEntry findBundleEntry(URL url,
AbstractBundle bundle)
throws IOException
- 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 class BundleResourceHandler
- Parameters:
url - The URL to find the BundleEntry for.
- Returns:
- the bundle entry
- Throws:
IOException
Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.