public class StringUtils extends Object
| Constructor and Description |
|---|
StringUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
camelCaseToHyphenCase(String s)
Parse upper camel case to lower hyphen case.
|
static String |
hyphenCaseToCamelCase(String s)
Parse lower hyphen case to upper camel case.
|
static boolean |
isNullOrEmpty(String s)
Check whether the string is null or empty
|
public static String camelCaseToHyphenCase(String s)
s - string in upper camel case formatpublic static String hyphenCaseToCamelCase(String s)
s - string in lower hyphen case formatpublic static boolean isNullOrEmpty(String s)
s - string to check.Copyright © 2015–2020. All rights reserved.