public class TextUtil extends Object
Constructor and Description |
---|
TextUtil() |
Modifier and Type | Method and Description |
---|---|
static Object |
capitalize(String english) |
static String |
formatXML(Reader reader) |
static String |
formatXML(Reader reader,
boolean asHTML) |
static String |
globToRegExp(String glob) |
static boolean |
isNullOrEmpty(String str) |
static boolean |
isValidXMLSnippet(String s)
Checks whether s is a valid (well-formed and balanced) XML snippet.
|
static String |
linkURL(String url) |
static String |
removeCommonLeadingIndentation(String src) |
static Object |
removeFinalChar(String s) |
static String |
toEnglishList(String conjuction,
String... args) |
Copyright © 2012. All Rights Reserved.