java.lang.Object
org.openpdf.layout.TextUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisFirstLetterSeparatorChar(char c) static StringreplaceChar(String text, char newChar, int index) Replace character at the specified index by another.static StringtransformFirstLetterText(String text, CalculatedStyle style) static StringtransformText(String text, CalculatedStyle style)
-
Constructor Details
-
TextUtil
public TextUtil()
-
-
Method Details
-
transformText
-
transformFirstLetterText
-
replaceChar
Replace character at the specified index by another.- Parameters:
text- Source textnewChar- Replacement character- Returns:
- Returns the new text
-
isFirstLetterSeparatorChar
public static boolean isFirstLetterSeparatorChar(char c)
-