Class Iso2022Converter


  • public final class Iso2022Converter
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String convertISO2022CharsetToJavaCharset​(byte[] bytes)
      Converts the given ISO2022 char set to a Java charset name.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • convertISO2022CharsetToJavaCharset

        public static java.lang.String convertISO2022CharsetToJavaCharset​(byte[] bytes)
        Converts the given ISO2022 char set to a Java charset name.
        Parameters:
        bytes - string data encoded using ISO2022
        Returns:
        the Java charset name as a string, or null if the conversion was not possible