Class HostAndPortParameter

  • All Implemented Interfaces:
    com.beust.jcommander.IParameterValidator, com.beust.jcommander.IStringConverter<com.google.common.net.HostAndPort>

    public final class HostAndPortParameter
    extends ParameterConverterValidator<com.google.common.net.HostAndPort>
    HostAndPort CLI parameter converter/validator.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.google.common.net.HostAndPort convert​(java.lang.String value)  
      • Methods inherited from class java.lang.Object

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

      • HostAndPortParameter

        public HostAndPortParameter()
    • Method Detail

      • convert

        public com.google.common.net.HostAndPort convert​(java.lang.String value)
        Specified by:
        convert in interface com.beust.jcommander.IStringConverter<com.google.common.net.HostAndPort>
        Specified by:
        convert in class ParameterConverterValidator<com.google.common.net.HostAndPort>