Package jodd.typeconverter.impl

Examples of jodd.typeconverter.impl.URIConverter


    register(File.class, new FileConverter());

    register(Class.class, new ClassConverter());
    register(Class[].class, new ClassArrayConverter(this));

    register(URI.class, new URIConverter());
    register(URL.class, new URLConverter());

    register(Locale.class, new LocaleConverter());
    register(TimeZone.class, new TimeZoneConverter());
View Full Code Here


public class URIConverterTest {

  @Test
  public void testConversion() {
    URIConverter uriConverter = new URIConverter();

    File f = new File("/folder/file.ext");
    URI uri = uriConverter.convert(f);
    assertNotNull(uri);
  }
View Full Code Here

    register(File.class, new FileConverter());

    register(Class.class, new ClassConverter());
    register(Class[].class, new ClassArrayConverter(this));

    register(URI.class, new URIConverter());
    register(URL.class, new URLConverter());

    register(Locale.class, new LocaleConverter());
    register(TimeZone.class, new TimeZoneConverter());
  }
View Full Code Here

TOP

Related Classes of jodd.typeconverter.impl.URIConverter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.