public class HTMLUtil extends Object
Modifier and Type | Method and Description |
---|---|
static String |
normalizeClass(CharSequence word)
Normalize the class value.
|
static String |
normalizeClass(Pattern separator,
CharSequence word)
Normalize the class value.
|
static String |
normalizeClasses(CharSequence... words)
Normalize the class value.
|
static String |
normalizeClasses(Pattern separator,
CharSequence... words)
Normalize the class value.
|
static String |
normalizeID(CharSequence word)
Normalize the ID value.
|
public static String normalizeClass(@Nullable CharSequence word)
word
- the word.public static String normalizeClass(@Nullable Pattern separator, @Nullable CharSequence word)
separator
- optional separator pattern to split the word.word
- the word.public static String normalizeClasses(CharSequence... words)
words
- the words.public static String normalizeClasses(@Nullable Pattern separator, CharSequence... words)
separator
- optional separator pattern to split the words.words
- the words.public static String normalizeID(CharSequence word)
word
- the word.