org.eclipse.osgi.framework.internal.protocol.reference
Class Handler
java.lang.Object
java.net.URLStreamHandler
org.eclipse.osgi.framework.internal.protocol.reference.Handler
public class Handler
- extends URLStreamHandler
URLStreamHandler for reference protocol. A reference URL is used to hold a
reference to a local file URL. A reference URL allows bundles to be installed
by reference. This means the content of the bundle will not be copied. Instead
the content of the bundle will be loaded from the reference location specified
by the reference URL. The Framework only supports reference URLs that refer
to a local file URL. For example:
reference:file:/eclipse/plugins/org.eclipse.myplugin_1.0.0/
reference:file:/eclispe/plugins/org.eclipse.mybundle_1.0.0.jar
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Handler
public Handler()
openConnection
protected URLConnection openConnection(URL url)
throws IOException
- Specified by:
openConnection in class URLStreamHandler
- Throws:
IOException
parseURL
protected void parseURL(URL url,
String str,
int start,
int end)
- Overrides:
parseURL in class URLStreamHandler
Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.