org.xhtmlrenderer.layout
Class TextUtil

java.lang.Object
  extended by org.xhtmlrenderer.layout.TextUtil

public class TextUtil
extends Object

Description of the Class

Author:
empty

Constructor Summary
TextUtil()
           
 
Method Summary
static boolean isFirstLetterSeparatorChar(char c)
          Description of the Method
static String replaceChar(String text, char newChar, int index)
          Replace character at the specified index by another.
static String transformFirstLetterText(String text, CalculatedStyle style)
          Description of the Method
static String transformText(String text, CalculatedStyle style)
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextUtil

public TextUtil()
Method Detail

transformText

public static String transformText(String text,
                                   CalculatedStyle style)
Description of the Method

Parameters:
text - PARAM
style -
Returns:
Returns

transformFirstLetterText

public static String transformFirstLetterText(String text,
                                              CalculatedStyle style)
Description of the Method

Parameters:
text - PARAM
style -
Returns:
Returns

replaceChar

public static String replaceChar(String text,
                                 char newChar,
                                 int index)
Replace character at the specified index by another.

Parameters:
text - Source text
newChar - Replacement character
Returns:
Returns the new text

isFirstLetterSeparatorChar

public static boolean isFirstLetterSeparatorChar(char c)
Description of the Method

Parameters:
c - PARAM
Returns:
Returns


Copyright © 2013. All Rights Reserved.