Package uk.num.net

Class NumProtocolSupport

java.lang.Object
uk.num.net.NumProtocolSupport

public final class NumProtocolSupport
extends java.lang.Object
Add NUM Protocol Support
  • Constructor Summary

    Constructors 
    Constructor Description
    NumProtocolSupport()  
  • Method Summary

    Modifier and Type Method Description
    static void init()
    Force the class to be loaded and the static initializer to be executed
    static java.net.URL toUrl​(java.lang.String numAddress)
    Create a `num` protocol URL

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • toUrl

      public static java.net.URL toUrl​(java.lang.String numAddress) throws java.net.MalformedURLException
      Create 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