Package org.apache.zookeeper.client
Class ConnectStringParser
- java.lang.Object
-
- org.apache.zookeeper.client.ConnectStringParser
-
-
Constructor Summary
Constructors Constructor Description ConnectStringParser(String connectString)
Parse host and port by spliting client connectString with support for IPv6 literals
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getChrootPath()
ArrayList<InetSocketAddress>
getServerAddresses()
-
-
-
Constructor Detail
-
ConnectStringParser
public 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
-
getChrootPath
public String getChrootPath()
-
getServerAddresses
public ArrayList<InetSocketAddress> getServerAddresses()
-
-