|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjoptsimple.util.InetAddressConverter
public class InetAddressConverter
Converts values to InetAddress using getByName.
| Constructor Summary | |
|---|---|
InetAddressConverter()
|
|
| Method Summary | |
|---|---|
InetAddress |
convert(String value)
Converts the given string value into a Java type. |
String |
valuePattern()
Gives a string that describes the pattern of the values this converter expects, if any. |
Class<InetAddress> |
valueType()
Gives the class of the type of values this converter converts to. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InetAddressConverter()
| Method Detail |
|---|
public InetAddress convert(String value)
ValueConverter
convert in interface ValueConverter<InetAddress>value - the string to convert
public Class<InetAddress> valueType()
ValueConverter
valueType in interface ValueConverter<InetAddress>public String valuePattern()
ValueConverterdate format string.
valuePattern in interface ValueConverter<InetAddress>null if there's nothing interesting here
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||