Class CodeSetConversion.JavaBTCConverter

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.nio.charset.CharsetDecoder decoder  
      private int resultingNumChars  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      char[] getChars​(byte[] bytes, int offset, int numBytes)  
      char[] getChars​(java.nio.ByteBuffer byteBuffer, int offset, int numBytes)  
      protected java.nio.charset.CharsetDecoder getConverter​(java.lang.String javaCodeSetName)
      Utility method to find a CharsetDecoder in the cache or create a new one if necessary.
      int getNumChars()  
      • Methods inherited from class java.lang.Object

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

      • decoder

        protected java.nio.charset.CharsetDecoder decoder
      • resultingNumChars

        private int resultingNumChars
    • Method Detail

      • getConverter

        protected java.nio.charset.CharsetDecoder getConverter​(java.lang.String javaCodeSetName)
        Utility method to find a CharsetDecoder in the cache or create a new one if necessary. Throws an INTERNAL if the code set is unknown.