public final class StringUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
escapeXML(CharSequence input) |
static <T> T |
fromString(String str)
Restores the object from its string representation.
|
static String |
toString(Object obj)
Converts the object to a one-line string representation
|
public static String toString(Object obj)
obj - the object to convertpublic static <T> T fromString(String str)
str - the string representation of the objectpublic static String escapeXML(CharSequence input)
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.