Class InetAddressStringParser

java.lang.Object
com.martiansoftware.jsap.StringParser
com.martiansoftware.jsap.stringparsers.InetAddressStringParser

public class InetAddressStringParser extends StringParser
A StringParser for parsing java.net.InetAddress objects. The parse() method delegates the actual parsing to InetAddress.getByName(String). If InetAddress.getByName() throws an UnknownHostException, it is encapsulated in a ParseException and re-thrown.
Author:
Marty Lamb
See Also: