public class ConfigUtils extends Object
| Constructor and Description | 
|---|
ConfigUtils()  | 
| Modifier and Type | Method and Description | 
|---|---|
static String | 
getClientConfigStr(String configData)  | 
static String[] | 
getHostAndPort(String s)
Gets host and port by spliting server config with support for IPv6 literals 
 | 
public static String[] getHostAndPort(String s) throws QuorumPeerConfig.ConfigException
s - server config, server:portQuorumPeerConfig.ConfigExceptionCopyright © 2008–2021 The Apache Software Foundation. All rights reserved.