public class StringUtils extends Object
| Constructor and Description |
|---|
StringUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
ensureBraces(String value)
If the given string is surrounded by curly braces, return it intact, otherwise trim it and
surround it with curly braces.
|
static String |
ensureBrackets(String value)
If the given string is surrounded by square brackets, return it intact, otherwise trim it and
surround it with square brackets.
|
Copyright © 2017–2021 DataStax. All rights reserved.