Class URIConverter

java.lang.Object
org.nuiton.converter.URIConverter
All Implemented Interfaces:
org.apache.commons.beanutils.Converter, NuitonConverter<URI>

public class URIConverter extends Object implements NuitonConverter<URI>
To convert URI from and to String.
Since:
1.0
Author:
Tony Chemit - chemit@codelutin.com
  • Constructor Details

    • URIConverter

      public URIConverter()
  • Method Details

    • convert

      public <T> T convert(Class<T> aClass, Object value)
      Specified by:
      convert in interface org.apache.commons.beanutils.Converter
    • valueOf

      protected URI valueOf(String value)
    • isEnabled

      protected boolean isEnabled(Class<?> aClass)
    • getType

      public Class<URI> getType()
      Specified by:
      getType in interface NuitonConverter<URI>
      Returns:
      the main type of the converter.