public class SchemeUtil extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
DEFAULT_KEY_VALUE_SEPARATOR |
static String |
DEFAULT_PARAM_SEPARATOR |
static String |
LINE_FEED |
| 构造器和说明 |
|---|
SchemeUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Map<String,String> |
getParameters(String qrCode)
Parses the given string into a key/value map.
|
static Map<String,String> |
getParameters(String qrCode,
String paramSeparator)
Parses the given string into a key/value map.
|
static Map<String,String> |
getParameters(String qrCode,
String paramSeparator,
String keyValueSeparator)
Parses the given string into a key/value map
|
public static Map<String,String> getParameters(String qrCode, String paramSeparator)
qrCode - the qrCode to split into key/value pairs.paramSeparator - the string that splits the parameterspublic static Map<String,String> getParameters(String qrCode)
qrCode - the qrCode to split into key/value pairs.public static Map<String,String> getParameters(String qrCode, String paramSeparator, String keyValueSeparator)
qrCode - the qrCode to split into key/value pairs.paramSeparator - the string that splits the parameterskeyValueSeparator - the string that splits the key/value pairsCopyright © 2019. All rights reserved.