public class PDFDocCharsetEncoder
extends java.nio.charset.CharsetEncoder
| Constructor and Description |
|---|
PDFDocCharsetEncoder() |
| Modifier and Type | Method and Description |
|---|---|
protected java.nio.charset.CoderResult |
encodeLoop(java.nio.CharBuffer in,
java.nio.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 java.nio.charset.CoderResult encodeLoop(java.nio.CharBuffer in,
java.nio.ByteBuffer out)
encodeLoop in class java.nio.charset.CharsetEncoderpublic boolean isLegalReplacement(byte[] repl)
isLegalReplacement in class java.nio.charset.CharsetEncoder