Accepts URLs on the form
reference:file URL]Where
[file URL]
is any valid file: URL.
openConnection
simply returns the URLConnection created by removing the reference:
prefix.
Definition at line 56 of file ReferenceURLStreamHandler.java.
Public Member Functions | ||||
URLConnection | openConnection (URL url) throws IOException | |||
| ||||
Static Protected Member Functions | ||||
static String | getActual (URL u) | |||
Get the actual URL string represented by the specified reference: URL. |
static String org.knopflerfish.framework.ReferenceURLStreamHandler.getActual | ( | URL | u | ) | [static, protected] |
Get the actual URL string represented by the specified reference:
URL.
IllegalArgumentException | if the specified URL does not have a reference: protocol. |
Definition at line 88 of file ReferenceURLStreamHandler.java.
Referenced by org.knopflerfish.framework.ReferenceURLStreamHandler.openConnection().