Class ReplacementForStringCoding


  • public class ReplacementForStringCoding
    extends java.lang.Object
    Replacement methods for the class java.lang.StringCoding.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static char[] decode​(byte[] bytes, int offset, int length)
      Replacement for StringCoding.decode(byte[] ba, int off, int len) in Java 8.
      • Methods inherited from class java.lang.Object

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

      • ReplacementForStringCoding

        public ReplacementForStringCoding()
    • Method Detail

      • decode

        private static char[] decode​(byte[] bytes,
                                     int offset,
                                     int length)
        Replacement for StringCoding.decode(byte[] ba, int off, int len) in Java 8. Decode UTF8 bytes to unicode 16 chars.