org.sonatype.guice.bean.converters
Class URLTypeConverter

java.lang.Object
  extended by org.sonatype.guice.bean.converters.AbstractTypeConverter<URL>
      extended by org.sonatype.guice.bean.converters.URLTypeConverter
All Implemented Interfaces:
com.google.inject.Module, com.google.inject.spi.TypeConverter

public final class URLTypeConverter
extends AbstractTypeConverter<URL>

TypeConverter Module that converts constants to URLs.


Constructor Summary
URLTypeConverter()
           
 
Method Summary
 Object convert(String value, com.google.inject.TypeLiteral<?> toType)
           
 
Methods inherited from class org.sonatype.guice.bean.converters.AbstractTypeConverter
configure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLTypeConverter

public URLTypeConverter()
Method Detail

convert

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


Copyright © 2010-2012 Sonatype, Inc.. All Rights Reserved.