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