Class AddressFromURIString$


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

      Fields 
      Modifier and Type Field Description
      static AddressFromURIString$ MODULE$
      Static reference to the singleton instance of this Scala object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Address apply​(java.lang.String addr)
      Try to construct an Address from the given String or throw a java.net.MalformedURLException.
      Address parse​(java.lang.String addr)
      Java API: Try to construct an Address from the given String or throw a java.net.MalformedURLException.
      scala.Option<Address> unapply​(java.lang.String addr)  
      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
    • Field Detail

      • MODULE$

        public static final AddressFromURIString$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • AddressFromURIString$

        public AddressFromURIString$()
    • Method Detail

      • unapply

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

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

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

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