Class CharsetUtils


  • public abstract class CharsetUtils
    extends java.lang.Object
    Since:
    0.6.2
    Author:
    code4crafter@gmail.com Date: 17/3/11 Time: 10:36
    • Constructor Summary

      Constructors 
      Constructor Description
      CharsetUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String detectCharset​(java.lang.String contentType, byte[] contentBytes)  
      • Methods inherited from class java.lang.Object

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

      • CharsetUtils

        public CharsetUtils()
    • Method Detail

      • detectCharset

        public static java.lang.String detectCharset​(java.lang.String contentType,
                                                     byte[] contentBytes)
                                              throws java.io.IOException
        Throws:
        java.io.IOException