public class PDFDocCharsetEncoder extends CharsetEncoder
| Constructor and Description |
|---|
PDFDocCharsetEncoder() |
| Modifier and Type | Method and Description |
|---|---|
protected CoderResult |
encodeLoop(CharBuffer in,
ByteBuffer out) |
static boolean |
isIdentityEncoding(char ch)
Identify whether a particular character preserves the same byte value
upon encoding in PDFDocEncoding
|
boolean |
isLegalReplacement(byte[] repl) |
averageBytesPerChar, canEncode, canEncode, charset, encode, encode, flush, implFlush, implOnMalformedInput, implOnUnmappableCharacter, implReplaceWith, implReset, malformedInputAction, maxBytesPerChar, onMalformedInput, onUnmappableCharacter, replacement, replaceWith, reset, unmappableCharacterActionpublic static boolean isIdentityEncoding(char ch)
ch - the characterprotected CoderResult encodeLoop(CharBuffer in, ByteBuffer out)
encodeLoop in class CharsetEncoderpublic boolean isLegalReplacement(byte[] repl)
isLegalReplacement in class CharsetEncoderCopyright © 2024. All rights reserved.