public class Handler extends java.net.URLStreamHandler
data:
URLs.
This class must be named "Handler" and in a package "data" (fixed named convention)!
See StackOverflow.
Constructor and Description |
---|
Handler() |
Modifier and Type | Method and Description |
---|---|
static void |
install()
Installs protocol handler.
|
protected java.net.URLConnection |
openConnection(java.net.URL u) |
public Handler()
protected java.net.URLConnection openConnection(java.net.URL u) throws java.io.IOException
openConnection
in class java.net.URLStreamHandler
java.io.IOException
public static void install()