Class CommandLine.BuiltIn.InetAddressConverter

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.net.InetAddress convert​(java.lang.String s)
      Converts the specified command line argument value to some domain object.
      • Methods inherited from class java.lang.Object

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

      • InetAddressConverter

        InetAddressConverter()
    • Method Detail

      • convert

        public java.net.InetAddress convert​(java.lang.String s)
                                     throws java.lang.Exception
        Description copied from interface: CommandLine.ITypeConverter
        Converts the specified command line argument value to some domain object.
        Specified by:
        convert in interface CommandLine.ITypeConverter<java.net.InetAddress>
        Parameters:
        s - the command line argument String value
        Returns:
        the resulting domain object
        Throws:
        java.lang.Exception - an exception detailing what went wrong during the conversion