Package org.apache.tomcat.util.buf
Class Utf8Encoder
- java.lang.Object
-
- java.nio.charset.CharsetEncoder
-
- org.apache.tomcat.util.buf.Utf8Encoder
-
public class Utf8Encoder extends java.nio.charset.CharsetEncoder
Encodes characters as bytes using UTF-8. Extracted from Apache Harmony with some minor bug fixes applied.
-
-
Constructor Summary
Constructors Constructor Description Utf8Encoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.nio.charset.CoderResult
encodeLoop(java.nio.CharBuffer in, java.nio.ByteBuffer out)
-
Methods inherited from class java.nio.charset.CharsetEncoder
averageBytesPerChar, canEncode, canEncode, charset, encode, encode, flush, implFlush, implOnMalformedInput, implOnUnmappableCharacter, implReplaceWith, implReset, isLegalReplacement, malformedInputAction, maxBytesPerChar, onMalformedInput, onUnmappableCharacter, replacement, replaceWith, reset, unmappableCharacterAction
-
-