public class Chars extends Object
Modifier and Type | Field and Description |
---|---|
static byte |
B_AMPHERSAND |
static byte |
B_AT |
static byte |
B_COLON |
static byte |
B_COMMA |
static byte |
B_CR |
static byte |
B_DASH |
static byte |
B_DOT |
static byte |
B_EQUALS |
static byte |
B_GT |
static byte |
B_HASH |
static byte |
B_LBRACE |
static byte |
B_LBRACKET |
static byte |
B_LPAREN |
static byte |
B_LT |
static byte |
B_MINUS |
static byte |
B_NL |
static byte |
B_PERCENT |
static byte |
B_PLUS |
static byte |
B_QMARK |
static byte |
B_QUOTE1 |
static byte |
B_QUOTE2 |
static byte |
B_RBRACE |
static byte |
B_RBRACKET |
static byte |
B_RPAREN |
static byte |
B_RSLASH |
static byte |
B_SEMICOLON |
static byte |
B_SLASH |
static byte |
B_STAR |
static byte |
B_UNDERSCORE |
static char |
BOM |
static char |
BSPACE |
static char |
CH_AMPHERSAND |
static char |
CH_AT |
static char |
CH_COLON |
static char |
CH_COMMA |
static char |
CH_DASH |
static char |
CH_DOT |
static char |
CH_EQUALS |
static char |
CH_GT |
static char |
CH_HASH |
static char |
CH_LBRACE |
static char |
CH_LBRACKET |
static char |
CH_LPAREN |
static char |
CH_LT |
static char |
CH_MINUS |
static char |
CH_PERCENT |
static char |
CH_PLUS |
static char |
CH_QMARK |
static char |
CH_QUOTE1 |
static char |
CH_QUOTE2 |
static char |
CH_RBRACE |
static char |
CH_RBRACKET |
static char |
CH_RPAREN |
static char |
CH_RSLASH |
static char |
CH_SEMICOLON |
static char |
CH_SLASH |
static char |
CH_STAR |
static char |
CH_UNDERSCORE |
static char |
CH_ZERO |
static Charset |
charsetASCII |
static Charset |
charsetUTF8 |
static char |
CR |
static char[] |
digits10 |
static int |
EOF
End of file - not a Unicode codepoint
|
static char[] |
hexDigitsLC
Hex digits : lower case
|
static char[] |
hexDigitsUC
Hex digits : upper case
|
static char |
NL |
static int |
UNSET
undefined character (exact meaning depends on use) - not a Unicode codepoint
|
Modifier and Type | Method and Description |
---|---|
static CharsetDecoder |
allocDecoder()
Allocate a CharsetDecoder, creating as necessary
|
static CharsetEncoder |
allocEncoder()
Allocate a CharsetEncoder, creating as necessary
|
static CharsetDecoder |
createDecoder()
Create a UTF-8 decoder
|
static CharsetEncoder |
createEncoder()
Create a UTF-8 encoder
|
static void |
deallocDecoder(CharsetDecoder dec)
Deallocate a CharsetDecoder, may increase pool size
|
static void |
deallocEncoder(CharsetEncoder enc)
Deallocate a CharsetEncoder, may increase pool size
|
static void |
encodeAsHex(StringBuilder buff,
char marker,
char ch) |
static CharsetDecoder |
getDecoder()
Get a UTF-8 decoder from the pool (null if pool empty)
|
static CharsetEncoder |
getEncoder()
Get a UTF-8 encoder from the pool (null if pool empty)
|
static CharsetDecoder |
getThreadDecoder()
Return a per-thread CharsetDecoder
|
static CharsetEncoder |
getThreadEncoder()
Return a per-thread CharsetEncoder
|
static void |
putDecoder(CharsetDecoder decoder)
Add/return a UTF-8 decoder to the pool
|
static void |
putEncoder(CharsetEncoder encoder)
Add/return a UTF-8 encoder to the pool
|
public static final char[] digits10
public static final char[] hexDigitsUC
public static final char[] hexDigitsLC
public static final Charset charsetUTF8
public static final Charset charsetASCII
public static final int EOF
public static final char BOM
public static final int UNSET
public static final char NL
public static final char CR
public static final char BSPACE
public static final char CH_ZERO
public static final char CH_LBRACKET
public static final char CH_RBRACKET
public static final char CH_LBRACE
public static final char CH_RBRACE
public static final char CH_LPAREN
public static final char CH_RPAREN
public static final char CH_LT
public static final char CH_GT
public static final char CH_UNDERSCORE
public static final char CH_QUOTE1
public static final char CH_QUOTE2
public static final char CH_EQUALS
public static final char CH_STAR
public static final char CH_DOT
public static final char CH_COMMA
public static final char CH_SEMICOLON
public static final char CH_COLON
public static final char CH_AMPHERSAND
public static final char CH_AT
public static final char CH_QMARK
public static final char CH_HASH
public static final char CH_PLUS
public static final char CH_MINUS
public static final char CH_DASH
public static final char CH_SLASH
public static final char CH_RSLASH
public static final char CH_PERCENT
public static final byte B_NL
public static final byte B_CR
public static final byte B_LBRACKET
public static final byte B_RBRACKET
public static final byte B_LBRACE
public static final byte B_RBRACE
public static final byte B_LPAREN
public static final byte B_RPAREN
public static final byte B_LT
public static final byte B_GT
public static final byte B_UNDERSCORE
public static final byte B_QUOTE1
public static final byte B_QUOTE2
public static final byte B_EQUALS
public static final byte B_STAR
public static final byte B_DOT
public static final byte B_COMMA
public static final byte B_SEMICOLON
public static final byte B_COLON
public static final byte B_AT
public static final byte B_AMPHERSAND
public static final byte B_QMARK
public static final byte B_HASH
public static final byte B_PLUS
public static final byte B_MINUS
public static final byte B_DASH
public static final byte B_SLASH
public static final byte B_RSLASH
public static final byte B_PERCENT
public static CharsetEncoder getThreadEncoder()
public static CharsetDecoder getThreadDecoder()
public static CharsetEncoder createEncoder()
public static CharsetDecoder createDecoder()
public static CharsetEncoder getEncoder()
public static void putEncoder(CharsetEncoder encoder)
public static CharsetDecoder getDecoder()
public static void putDecoder(CharsetDecoder decoder)
public static CharsetEncoder allocEncoder()
public static void deallocEncoder(CharsetEncoder enc)
public static CharsetDecoder allocDecoder()
public static void deallocDecoder(CharsetDecoder dec)
public static void encodeAsHex(StringBuilder buff, char marker, char ch)
Licenced under the Apache License, Version 2.0