com.sun.codemodel.util
public final class MS1252Encoder extends java.nio.charset.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(java.nio.charset.Charset cs) |
Modifier and Type | Method and Description |
---|---|
boolean |
canEncode(char c) |
byte |
encode(char inputChar) |
protected java.nio.charset.CoderResult |
encodeLoop(java.nio.CharBuffer src,
java.nio.ByteBuffer dst) |
averageBytesPerChar, canEncode, charset, encode, encode, flush, implFlush, implOnMalformedInput, implOnUnmappableCharacter, implReplaceWith, implReset, isLegalReplacement, malformedInputAction, maxBytesPerChar, onMalformedInput, onUnmappableCharacter, replacement, replaceWith, reset, unmappableCharacterAction
Copyright © 2005-2014 Sun Microsystems. All Rights Reserved.