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, unmappableCharacterAction
public boolean canEncode(char c)
canEncode
in class CharsetEncoder
public boolean isLegalReplacement(byte[] repl)
isLegalReplacement
in class CharsetEncoder
protected final CoderResult encodeLoop(CharBuffer src, ByteBuffer dst)
encodeLoop
in class CharsetEncoder
public int encode(char[] sa, int sp, int len, byte[] da)
Copyright © 2014 Oracle Corporation. All rights reserved.