Class NativeToAsciiConverter


  • public class NativeToAsciiConverter
    extends Object
    • Constructor Detail

      • NativeToAsciiConverter

        public NativeToAsciiConverter()
    • Method Detail

      • convertEncodedToUnicode

        public static String convertEncodedToUnicode​(String str)
        Converts encoded \uxxxx to unicode chars and changes special saved chars to their original forms
        Parameters:
        str - the string to convert
        Returns:
        converted string
        See Also:
        Properties
      • convertUnicodeToEncoded

        public static String convertUnicodeToEncoded​(String str,
                                                     boolean lowerCase)
        Converts unicodes to encoded \uxxxx.
        Parameters:
        str - string to convert
        Returns:
        converted string
        See Also:
        Properties