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.
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 © 2005–2019 Oracle. All rights reserved.