static class CommandLine.BuiltIn.InetAddressConverter extends java.lang.Object implements CommandLine.ITypeConverter<java.net.InetAddress>
InetAddress by delegating to InetAddress.getByName(String).| Constructor and Description |
|---|
InetAddressConverter() |
| Modifier and Type | Method and Description |
|---|---|
java.net.InetAddress |
convert(java.lang.String s)
Converts the specified command line argument value to some domain object.
|
public java.net.InetAddress convert(java.lang.String s)
throws java.lang.Exception
CommandLine.ITypeConverterconvert in interface CommandLine.ITypeConverter<java.net.InetAddress>s - the command line argument String valuejava.lang.Exception - an exception detailing what went wrong during the conversion