CachedCharsetCoding¶
-
public class
CachedCharsetCoding¶ Lazily creates and caches a
java.nio.CharsetEncoder,java.nio.CharsetDecoderpair for each calling thread.- Author
jmoringe
Constructors¶
Methods¶
getDecoder¶
-
public CharsetDecoder
getDecoder()¶ Returns the decoder for the current thread (potentially after creating it).
- Returns
The decoder.
getEncoder¶
-
public CharsetEncoder
getEncoder()¶ Returns the encoder for the current thread (potentially after creating it).
- Returns
The encoder.