public class StringUtils extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DOLLAR_SLASHY |
static int |
NONE_SLASHY |
static int |
SLASHY |
Constructor and Description |
---|
StringUtils() |
Modifier and Type | Method and Description |
---|---|
static long |
countChar(String text,
char c) |
static String |
removeCR(String text) |
static StringBuilder |
replace(StringBuilder sb,
Map<String,String> replacements) |
static String |
replace(String str,
Map<String,String> replacements) |
static String |
replaceEscapes(String text,
int slashyType) |
static String |
replaceHexEscapes(String text) |
static String |
replaceOctalEscapes(String text) |
static String |
replaceStandardEscapes(String text) |
static String |
trimQuotations(String text,
int quotationLength) |
public static final int NONE_SLASHY
public static final int SLASHY
public static final int DOLLAR_SLASHY
public static long countChar(String text, char c)
public static StringBuilder replace(StringBuilder sb, Map<String,String> replacements)