public class IOUtils
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static char[] |
CA |
static char[] |
DIGITS |
static boolean[] |
firstIdentifierFlags |
(package private) static int[] |
IA |
static boolean[] |
identifierFlags |
static char[] |
replaceChars |
static byte[] |
specicalFlags_doubleQuotes |
static boolean[] |
specicalFlags_doubleQuotesFlags |
static byte[] |
specicalFlags_singleQuotes |
static boolean[] |
specicalFlags_singleQuotesFlags |
static java.nio.charset.Charset |
UTF8 |
| Constructor and Description |
|---|
IOUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
close(java.io.Closeable x) |
static void |
decode(java.nio.charset.CharsetDecoder charsetDecoder,
java.nio.ByteBuffer byteBuf,
java.nio.CharBuffer charByte) |
static byte[] |
decodeBase64(java.lang.String s) |
static int |
decodeUTF8(byte[] sa,
int sp,
int len,
char[] da) |
static void |
getChars(byte b,
int index,
char[] buf) |
static void |
getChars(int i,
int index,
char[] buf) |
static void |
getChars(long i,
int index,
char[] buf) |
static boolean |
isIdent(char ch) |
static boolean |
isValidJsonpQueryParam(java.lang.String value) |
static int |
stringSize(int x) |
static int |
stringSize(long x) |
public static final java.nio.charset.Charset UTF8
public static final char[] DIGITS
public static final boolean[] firstIdentifierFlags
public static final boolean[] identifierFlags
public static final byte[] specicalFlags_doubleQuotes
public static final byte[] specicalFlags_singleQuotes
public static final boolean[] specicalFlags_doubleQuotesFlags
public static final boolean[] specicalFlags_singleQuotesFlags
public static final char[] replaceChars
public static final char[] CA
static final int[] IA
public static void decode(java.nio.charset.CharsetDecoder charsetDecoder,
java.nio.ByteBuffer byteBuf,
java.nio.CharBuffer charByte)
public static byte[] decodeBase64(java.lang.String s)
public static void close(java.io.Closeable x)
public static void getChars(byte b,
int index,
char[] buf)
public static void getChars(int i,
int index,
char[] buf)
public static void getChars(long i,
int index,
char[] buf)
public static int stringSize(int x)
public static int stringSize(long x)
public static int decodeUTF8(byte[] sa,
int sp,
int len,
char[] da)
public static boolean isIdent(char ch)
public static boolean isValidJsonpQueryParam(java.lang.String value)