Class AddressFromURIString


  • public class AddressFromURIString
    extends java.lang.Object
    This object serves as extractor for Scala and as address parser for Java.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Address apply​(java.lang.String addr)
      Try to construct an Address from the given String or throw a java.net.MalformedURLException.
      static Address parse​(java.lang.String addr)
      Java API: Try to construct an Address from the given String or throw a java.net.MalformedURLException.
      static scala.Option<Address> unapply​(java.lang.String addr)  
      static scala.Option<Address> unapply​(java.net.URI uri)  
      • Methods inherited from class java.lang.Object

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

      • AddressFromURIString

        public AddressFromURIString()
    • Method Detail

      • unapply

        public static scala.Option<Address> unapply​(java.lang.String addr)
      • unapply

        public static scala.Option<Address> unapply​(java.net.URI uri)
      • apply

        public static Address apply​(java.lang.String addr)
        Try to construct an Address from the given String or throw a java.net.MalformedURLException.
      • parse

        public static Address parse​(java.lang.String addr)
        Java API: Try to construct an Address from the given String or throw a java.net.MalformedURLException.