Package uk.num.net
Class NumProtocolSupport
- java.lang.Object
-
- uk.num.net.NumProtocolSupport
-
public final class NumProtocolSupport extends java.lang.ObjectAdd NUM Protocol Support
-
-
Constructor Summary
Constructors Constructor Description NumProtocolSupport()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidinit()Force the class to be loaded and the static initializer to be executedstatic java.net.URLtoUrl(java.lang.String numAddress)Create a `num` protocol URL
-
-
-
Method Detail
-
toUrl
public static java.net.URL toUrl(java.lang.String numAddress) throws java.net.MalformedURLExceptionCreate a `num` protocol URL- Parameters:
numAddress- the NUM ID- Returns:
- a URL
- Throws:
java.net.MalformedURLException- on error
-
init
public static void init()
Force the class to be loaded and the static initializer to be executed
-
-