public final class MS1252Encoder extends CharsetEncoder
See http://www.microsoft.com/globaldev/reference/sbcs/1252.htm for the normative definition. This code depends on Sun internal package, so we have to make sure it won't be executed on other JDKs.
No generated code is directly depending on this, so we can potentially remove this in future.
Constructor and Description |
---|
MS1252Encoder(Charset cs) |
Modifier and Type | Method and Description |
---|---|
boolean |
canEncode(char c) |
byte |
encode(char inputChar) |
protected CoderResult |
encodeLoop(CharBuffer src,
ByteBuffer dst) |
averageBytesPerChar, canEncode, charset, encode, encode, flush, implFlush, implOnMalformedInput, implOnUnmappableCharacter, implReplaceWith, implReset, isLegalReplacement, malformedInputAction, maxBytesPerChar, onMalformedInput, onUnmappableCharacter, replacement, replaceWith, reset, unmappableCharacterAction
public MS1252Encoder(Charset cs)
public boolean canEncode(char c)
protected CoderResult encodeLoop(CharBuffer src, ByteBuffer dst)
encodeLoop
in class CharsetEncoder
public byte encode(char inputChar)
Copyright © 2023 Oracle Corporation. All rights reserved.