public class JarDirUrlHandler
extends org.osgi.service.url.AbstractURLStreamHandlerService
Modifier and Type | Class and Description |
---|---|
class |
JarDirUrlHandler.Connection |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROTOCOL |
Constructor and Description |
---|
JarDirUrlHandler() |
Modifier and Type | Method and Description |
---|---|
java.net.URLConnection |
openConnection(java.net.URL url)
Open the connection for the given URL.
|
public static final java.lang.String PROTOCOL
public java.net.URLConnection openConnection(java.net.URL url) throws java.io.IOException
openConnection
in interface org.osgi.service.url.URLStreamHandlerService
openConnection
in class org.osgi.service.url.AbstractURLStreamHandlerService
url
- the url from which to open a connection.java.io.IOException
- if an error occurs or if the URL is malformed.Copyright © 2006-2015 The Apache Software Foundation. All Rights Reserved.