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, unmappableCharacterAction
public static boolean isIdentityEncoding(char ch)
ch
- the characterprotected CoderResult encodeLoop(CharBuffer in, ByteBuffer out)
encodeLoop
in class CharsetEncoder
public boolean isLegalReplacement(byte[] repl)
isLegalReplacement
in class CharsetEncoder
Copyright © 2022. All rights reserved.