public class TextUtils
extends java.lang.Object
Constructor and Description |
---|
TextUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
asString(java.lang.Object node) |
static java.lang.String |
replaceWhitespace(java.lang.String str,
boolean collapse)
Create a normalized string.
|
static java.lang.String |
stringValue(java.lang.Object node) |
static void |
stringValue(java.lang.Object node,
java.lang.StringBuffer sbuf) |
static void |
textValue(java.lang.Object arg,
Consumer out) |
public static java.lang.String asString(java.lang.Object node)
public static java.lang.String stringValue(java.lang.Object node)
public static void stringValue(java.lang.Object node, java.lang.StringBuffer sbuf)
public static void textValue(java.lang.Object arg, Consumer out)
public static java.lang.String replaceWhitespace(java.lang.String str, boolean collapse)