Class Handler
java.lang.Object
java.net.URLStreamHandler
org.openstreetmap.josm.io.protocols.data.Handler
Protocol handler for
data: URLs.
This class must be named "Handler" and in a package "data" (fixed named convention)!
See StackOverflow.
- Since:
- 10931
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidinstall()Installs protocol handler.protected URLConnectionMethods inherited from class java.net.URLStreamHandler
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalForm
-
Constructor Details
-
Handler
public Handler()
-
-
Method Details
-
openConnection
- Specified by:
openConnectionin classURLStreamHandler- Throws:
IOException
-
install
Installs protocol handler.
-