public class StrUtils extends Object
| Constructor and Description |
|---|
StrUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
camelToUnderscore(String str)
FooBar - foo_bar
|
static String |
capitalize(String str) |
static boolean |
isBlank(CharSequence cs) |
static boolean |
isNotBlank(CharSequence cs) |
static String |
join(Iterable<?> iterable,
String separator) |
static String |
join(Iterator<?> iterator,
String separator) |
static String |
join(Object[] array,
String separator) |
static String |
join(Object[] array,
String separator,
int startIndex,
int endIndex) |
static String[] |
splitCamel(String str)
split Camel Case
|
static String |
uncapitalize(String str) |
public static final String EMPTY
public static String[] splitCamel(String str)
nice - [nice] World - [World] MySQL - [My SQL] HTML - [HTML] JSONObject - [JSON Object] JPanel - [J Panel] toJSONString - [to JSON String] Log4j - [Log4j] 99Roses - [99 Roses] DO178 - [DO178] Do178 - [Do178]
str - wordpublic static String camelToUnderscore(String str)
str - FooBarpublic static boolean isBlank(CharSequence cs)
public static boolean isNotBlank(CharSequence cs)
Copyright © 2020. All rights reserved.