Class URIConverter

  • All Implemented Interfaces:
    com.beust.jcommander.IParameterValidator, com.beust.jcommander.IStringConverter<URI>

    public class URIConverter
    extends Object
    implements com.beust.jcommander.IStringConverter<URI>, com.beust.jcommander.IParameterValidator
    Created by Viliam Repan (lazyman).
    • Constructor Detail

      • URIConverter

        public URIConverter()
      • URIConverter

        public URIConverter​(String optionName)
    • Method Detail

      • convert

        public URI convert​(String value)
        Specified by:
        convert in interface com.beust.jcommander.IStringConverter<URI>
      • validate

        public void validate​(String name,
                             String value)
                      throws com.beust.jcommander.ParameterException
        Specified by:
        validate in interface com.beust.jcommander.IParameterValidator
        Throws:
        com.beust.jcommander.ParameterException