public class StringUtils
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
StringUtils.LATIN1 |
static class |
StringUtils.UTF16 |
| Modifier and Type | Field and Description |
|---|---|
protected static long |
MASK_BROWSER_SECURE |
protected static long |
MASK_ESCAPE_NONE_ASCII |
| Constructor and Description |
|---|
StringUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
escaped(byte[] value,
byte quote,
long vecQuote) |
static boolean |
noneEscaped(long v,
long quote) |
static void |
writeEscapedChar(byte[] bytes,
int off,
int c0) |
static void |
writeEscapedChar(char[] chars,
int off,
int c0) |
static int |
writeLatin1(byte[] bytes,
int off,
byte[] value,
byte quote) |
static int |
writeLatin1Escaped(byte[] bytes,
int off,
byte[] values,
byte quote,
long features) |
static int |
writeLatin1EscapedRest(char[] chars,
int off,
byte[] str,
int coff,
char quote,
long features) |
static void |
writeU4Hex2(byte[] bytes,
int off,
int c) |
static void |
writeU4Hex2(char[] chars,
int off,
int c) |
static void |
writeU4HexU(byte[] bytes,
int off,
int c) |
static void |
writeU4HexU(char[] chars,
int off,
int c) |
static int |
writeUTF16(byte[] bytes,
int off,
byte[] value,
byte quote,
long features) |
protected static final long MASK_ESCAPE_NONE_ASCII
protected static final long MASK_BROWSER_SECURE
public static int writeLatin1(byte[] bytes,
int off,
byte[] value,
byte quote)
public static int writeLatin1Escaped(byte[] bytes,
int off,
byte[] values,
byte quote,
long features)
public static int writeLatin1EscapedRest(char[] chars,
int off,
byte[] str,
int coff,
char quote,
long features)
public static int writeUTF16(byte[] bytes,
int off,
byte[] value,
byte quote,
long features)
public static void writeEscapedChar(byte[] bytes,
int off,
int c0)
public static void writeU4Hex2(byte[] bytes,
int off,
int c)
public static void writeU4HexU(byte[] bytes,
int off,
int c)
public static void writeEscapedChar(char[] chars,
int off,
int c0)
public static void writeU4Hex2(char[] chars,
int off,
int c)
public static void writeU4HexU(char[] chars,
int off,
int c)
public static boolean escaped(byte[] value,
byte quote,
long vecQuote)
public static boolean noneEscaped(long v,
long quote)