Class StringUtils
java.lang.Object
io.opencensus.internal.StringUtils
Internal utility methods for working with tag keys, tag values, and metric names.
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisPrintableString(String str) Determines whether theStringcontains only printable characters.
-
Method Details
-
isPrintableString
Determines whether theStringcontains only printable characters.- Parameters:
str- theStringto be validated.- Returns:
- whether the
Stringcontains only printable characters.
-