Class CMapCharsetEncoder


  • public final class CMapCharsetEncoder
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private boolean bmpOnly  
      private java.nio.CharBuffer charBuf  
      private java.nio.charset.CharsetEncoder encoder  
      private java.nio.charset.Charset targetCharset  
    • Constructor Summary

      Constructors 
      Constructor Description
      CMapCharsetEncoder​(java.nio.charset.Charset targetCharset)  
      CMapCharsetEncoder​(java.nio.charset.Charset targetCharset, boolean bmpOnly)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] encodeUnicodeCodePoint​(int cp)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • encoder

        private final java.nio.charset.CharsetEncoder encoder
      • charBuf

        private final java.nio.CharBuffer charBuf
      • bmpOnly

        private final boolean bmpOnly
      • targetCharset

        private final java.nio.charset.Charset targetCharset
    • Constructor Detail

      • CMapCharsetEncoder

        public CMapCharsetEncoder​(java.nio.charset.Charset targetCharset)
      • CMapCharsetEncoder

        public CMapCharsetEncoder​(java.nio.charset.Charset targetCharset,
                                  boolean bmpOnly)
    • Method Detail

      • encodeUnicodeCodePoint

        public byte[] encodeUnicodeCodePoint​(int cp)