Class Handler
- java.lang.Object
-
- java.net.URLStreamHandler
-
- org.openstreetmap.josm.io.protocols.data.Handler
-
public class Handler extends java.net.URLStreamHandler
Protocol handler fordata:
URLs. This class must be named "Handler" and in a package "data" (fixed named convention)!See StackOverflow.
- Since:
- 10931
-
-
Constructor Summary
Constructors Constructor Description Handler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
install()
Installs protocol handler.protected java.net.URLConnection
openConnection(java.net.URL u)
-
-
-
Constructor Detail
-
Handler
public Handler()
-
-
Method Detail
-
openConnection
protected java.net.URLConnection openConnection(java.net.URL u) throws java.io.IOException
- Specified by:
openConnection
in classjava.net.URLStreamHandler
- Throws:
java.io.IOException
-
install
public static void install()
Installs protocol handler.
-
-