public class StringUtils extends Object
| 构造器和说明 |
|---|
StringUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
checkMetricName(MetricName name)
check if there is any illegal character in given metric name
Focus on metric key and tag value
|
static void |
checkTagValue(String tagValue)
check if there is any illegal character in tag value
|
static boolean |
equals(String s1,
String s2) |
static boolean |
isBlank(String s) |
static boolean |
isNotBlank(String s) |
static String |
removeIllegalOpentsdbChars(String input)
已过时。
|
public static void checkMetricName(MetricName name)
name - the metric name to checkpublic static void checkTagValue(String tagValue)
tagValue - the tag value to check@Deprecated public static String removeIllegalOpentsdbChars(String input)
input - the input stringpublic static boolean isNotBlank(String s)
public static boolean isBlank(String s)
Copyright © 2019. All rights reserved.