public class NameUtilCore
extends java.lang.Object
Constructor and Description |
---|
NameUtilCore() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isWordStart(java.lang.String text,
int i) |
static java.lang.String [] |
nameToWords(java.lang.String name) |
static int |
nextWord(java.lang.String text,
int start) |
static java.lang.String [] |
splitNameIntoWords(java.lang.String name)
Splits an identifier into words, separated with underscores or upper-case characters
(camel-case).
|
public static java.lang.String [] splitNameIntoWords(java.lang.String name)
name
- the identifier to split.public static int nextWord(java.lang.String text, int start)
public static boolean isWordStart(java.lang.String text, int i)
public static java.lang.String [] nameToWords(java.lang.String name)