Class UriConverter

  • All Implemented Interfaces:
    com.carrotsearch.console.jcommander.IStringConverter<java.net.URI>, com.carrotsearch.console.jcommander.IStringConverterFactory

    public class UriConverter
    extends java.lang.Object
    implements com.carrotsearch.console.jcommander.IStringConverter<java.net.URI>, com.carrotsearch.console.jcommander.IStringConverterFactory
    • Constructor Summary

      Constructors 
      Constructor Description
      UriConverter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.net.URI convert​(java.lang.String value)  
      <T> java.lang.Class<? extends com.carrotsearch.console.jcommander.IStringConverter<T>> getConverter​(java.lang.Class<T> forType)  
      • Methods inherited from class java.lang.Object

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

      • UriConverter

        public UriConverter()
    • Method Detail

      • convert

        public java.net.URI convert​(java.lang.String value)
        Specified by:
        convert in interface com.carrotsearch.console.jcommander.IStringConverter<java.net.URI>
      • getConverter

        public <T> java.lang.Class<? extends com.carrotsearch.console.jcommander.IStringConverter<T>> getConverter​(java.lang.Class<T> forType)
        Specified by:
        getConverter in interface com.carrotsearch.console.jcommander.IStringConverterFactory