Class TypeConverters.UrlConverter

    • Constructor Summary

      Constructors 
      Constructor Description
      UrlConverter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.net.URL convert​(java.lang.String s)
      Converts a String to a given type.
      • Methods inherited from class java.lang.Object

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

      • UrlConverter

        public UrlConverter()
    • Method Detail

      • convert

        public java.net.URL convert​(java.lang.String s)
                             throws java.net.MalformedURLException
        Description copied from interface: TypeConverter
        Converts a String to a given type.
        Specified by:
        convert in interface TypeConverter<java.net.URL>
        Parameters:
        s - the String to convert. Cannot be null.
        Returns:
        the converted object.
        Throws:
        java.net.MalformedURLException