Class URLTypeConverter

  • All Implemented Interfaces:
    com.google.inject.Module, com.google.inject.spi.TypeConverter

    final class URLTypeConverter
    extends AbstractTypeConverter<java.net.URL>
    TypeConverter Module that converts constants to URLs.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object convert​(java.lang.String value, com.google.inject.TypeLiteral<?> toType)  
      • Methods inherited from class java.lang.Object

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

      • URLTypeConverter

        URLTypeConverter()
    • Method Detail

      • convert

        public java.lang.Object convert​(java.lang.String value,
                                        com.google.inject.TypeLiteral<?> toType)