public class HostPortsParser extends Object
IPv4:
127.0.0.1:9999,127.0.0.2:8888
or
IPv6:
[1fff:0:a88:85a3::ac1f]:8001,[1fff:0:a88:85a3::ac2f]:8001
or
DNS hostname:port pairs:
testhost.example.com:8970,host2.example.com:1234
Be sure to call parse() before getting the list of
host/port pairs via getHostsPorts().| Constructor and Description |
|---|
HostPortsParser(String parseString) |
public HostPortsParser(String parseString)
public void parse()
throws InvalidConfigurationException
InvalidConfigurationExceptionpublic List<HostPortPair> getHostsPorts()
Copyright © 2013. All Rights Reserved.