Package org.apache.zookeeper.client
Class ConnectStringParser
- java.lang.Object
- 
- org.apache.zookeeper.client.ConnectStringParser
 
- 
- 
Constructor SummaryConstructors Constructor Description ConnectStringParser(String connectString)Parse host and port by spliting client connectString with support for IPv6 literals
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetChrootPath()ArrayList<InetSocketAddress>getServerAddresses()
 
- 
- 
- 
Constructor Detail- 
ConnectStringParserpublic ConnectStringParser(String connectString) Parse host and port by spliting client connectString with support for IPv6 literals- Throws:
- IllegalArgumentException- for an invalid chroot path.
 
 
- 
 - 
Method Detail- 
getChrootPathpublic String getChrootPath() 
 - 
getServerAddressespublic ArrayList<InetSocketAddress> getServerAddresses() 
 
- 
 
-