public class CommonUtils extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
CommonUtils.EntryParser<K,V> |
Modifier and Type | Method and Description |
---|---|
static Map<String,String> |
parseMapFromString(String str)
Splits given String str around non-escaped commas.
|
static <K,V> Map<K,V> |
parseMapFromString(String str,
CommonUtils.EntryParser<K,V> parser) |
public static Map<String,String> parseMapFromString(String str)
str
- The string to parsepublic static <K,V> Map<K,V> parseMapFromString(String str, CommonUtils.EntryParser<K,V> parser)
Copyright © 2014–2018 Apache Software Foundation. All rights reserved.