Charset and its relevant classes.
| Modifier and Type | Field and Description |
|---|---|
| private static final FastThreadLocal | |
| private static final FastThreadLocal |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static CharsetDecoder | Returns: The decoder for the specifiedcharsetThe specified charset charset, CodingErrorAction The decoder's action for malformed-input errors malformedInputAction, CodingErrorAction The decoder's action for unmappable-character errors unmappableCharacterAction)Returns a new |
| public static CharsetDecoder | Returns: The decoder for the specifiedcharsetThe specified charset charset, CodingErrorAction The decoder's action for malformed-input and unmappable-character errors codingErrorAction)Returns a new |
| public static CharsetDecoder | Returns: The decoder for the specifiedcharsetThe specified charset charset)Returns a cached thread-local |
| public static CharsetEncoder | Returns: The encoder for the specifiedcharsetThe specified charset charset, CodingErrorAction The encoder's action for malformed-input errors malformedInputAction, CodingErrorAction The encoder's action for unmappable-character errors unmappableCharacterAction)Returns a new |
| public static CharsetEncoder | Returns: The encoder for the specifiedcharsetThe specified charset charset, CodingErrorAction The encoder's action for malformed-input and unmappable-character errors codingErrorAction)Returns a new |
| public static CharsetEncoder | Returns: The encoder for the specifiedcharsetThe specified charset charset)Returns a cached thread-local |
| public static CharsetDecoder | |
| public static CharsetEncoder |
| DECODER_CACHE | back to summary |
|---|---|
| private static final FastThreadLocal<Map<Charset, CharsetDecoder>> DECODER_CACHE | |
| ENCODER_CACHE | back to summary |
|---|---|
| private static final FastThreadLocal<Map<Charset, CharsetEncoder>> ENCODER_CACHE | |
| CharsetUtil | back to summary |
|---|---|
| private CharsetUtil() | |
| decoder | back to summary |
|---|---|
| public static CharsetDecoder decoder(Charset charset, CodingErrorAction malformedInputAction, CodingErrorAction unmappableCharacterAction) Returns a new
| |
| decoder | back to summary |
|---|---|
| public static CharsetDecoder decoder(Charset charset, CodingErrorAction codingErrorAction) Returns a new
| |
| decoder | back to summary |
|---|---|
| public static CharsetDecoder decoder(Charset charset) Returns a cached thread-local
| |
| encoder | back to summary |
|---|---|
| public static CharsetEncoder encoder(Charset charset, CodingErrorAction malformedInputAction, CodingErrorAction unmappableCharacterAction) Returns a new
| |
| encoder | back to summary |
|---|---|
| public static CharsetEncoder encoder(Charset charset, CodingErrorAction codingErrorAction) Returns a new
| |
| encoder | back to summary |
|---|---|
| public static CharsetEncoder encoder(Charset charset) Returns a cached thread-local
| |
| getDecoder | back to summary |
|---|---|
| public static CharsetDecoder getDecoder(Charset charset)
Deprecated Use
| |
| getEncoder | back to summary |
|---|---|
| public static CharsetEncoder getEncoder(Charset charset)
Deprecated Use
| |