public class TextUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static char[][] |
_stringChars
We use arrays of char in the lookup table because it is faster appending this to a StringBuffer than appending a
String
|
protected static int |
MAX_LENGTH |
| Constructor and Description |
|---|
TextUtil() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
addMapping(int c,
String txt,
String[] strings) |
static String |
escapeHTML(String s)
Call escapeHTML(s, false)
|
static String |
escapeHTML(String s,
boolean escapeEmpty)
Escape HTML.
|
protected static void |
initMapping() |
protected static final int MAX_LENGTH
protected static final char[][] _stringChars
Copyright © 2013 Atlassian. All Rights Reserved.