public class TextUtil extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TextUtil.DefaultCharacterBreaker |
static class |
TextUtil.DefaultToLowerTransformer |
static class |
TextUtil.DefaultToTitleTransformer
A best effort implementation of title casing.
|
static class |
TextUtil.DefaultToUpperTransformer |
| Constructor and Description |
|---|
TextUtil() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isFirstLetterSeparatorChar(int currentChar)
According to the CSS spec the first letter includes certain punctuation immediately
preceding or following the actual first letter.
|
static String |
transformFirstLetterText(String text,
CalculatedStyle style) |
static String |
transformText(String text,
CalculatedStyle style) |
public static String transformText(String text, CalculatedStyle style)
public static String transformFirstLetterText(String text, CalculatedStyle style)
public static boolean isFirstLetterSeparatorChar(int currentChar)
currentChar - Copyright © 2018. All rights reserved.