protected static final class StrictUtf8.Encoder extends CharsetEncoder
| Modifier and Type | Method and Description |
|---|---|
boolean |
canEncode(char c) |
int |
encode(char[] sa,
int sp,
int len,
byte[] da) |
protected CoderResult |
encodeLoop(CharBuffer src,
ByteBuffer dst) |
boolean |
isLegalReplacement(byte[] repl) |
averageBytesPerChar, canEncode, charset, encode, encode, flush, implFlush, implOnMalformedInput, implOnUnmappableCharacter, implReplaceWith, implReset, malformedInputAction, maxBytesPerChar, onMalformedInput, onUnmappableCharacter, replacement, replaceWith, reset, unmappableCharacterActionpublic boolean canEncode(char c)
canEncode in class CharsetEncoderpublic boolean isLegalReplacement(byte[] repl)
isLegalReplacement in class CharsetEncoderprotected final CoderResult encodeLoop(CharBuffer src, ByteBuffer dst)
encodeLoop in class CharsetEncoderpublic int encode(char[] sa,
int sp,
int len,
byte[] da)
Copyright © 2012-2013. All Rights Reserved.