Class UnicodeUtil


  • public class UnicodeUtil
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      UnicodeUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static byte[] convert​(byte[] bytes, java.lang.String encout)  
      static java.lang.String getBOM​(java.lang.String enc)  
      • Methods inherited from class java.lang.Object

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

      • UnicodeUtil

        public UnicodeUtil()
    • Method Detail

      • convert

        public static byte[] convert​(byte[] bytes,
                                     java.lang.String encout)
                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getBOM

        public static java.lang.String getBOM​(java.lang.String enc)
                                       throws java.io.UnsupportedEncodingException
        Throws:
        java.io.UnsupportedEncodingException