Package org.apache.tomcat.util.buf
Class Utf8Encoder
java.lang.Object
java.nio.charset.CharsetEncoder
org.apache.tomcat.util.buf.Utf8Encoder
Encodes characters as bytes using UTF-8. Extracted from Apache Harmony with some minor bug fixes applied.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected CoderResultencodeLoop(CharBuffer in, ByteBuffer out) Methods inherited from class java.nio.charset.CharsetEncoderaverageBytesPerChar, canEncode, canEncode, charset, encode, encode, flush, implFlush, implOnMalformedInput, implOnUnmappableCharacter, implReplaceWith, implReset, isLegalReplacement, malformedInputAction, maxBytesPerChar, onMalformedInput, onUnmappableCharacter, replacement, replaceWith, reset, unmappableCharacterAction
- 
Constructor Details- 
Utf8Encoderpublic Utf8Encoder()
 
- 
- 
Method Details- 
encodeLoop- Specified by:
- encodeLoopin class- CharsetEncoder
 
 
-