Class StringUtils


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

      Constructors 
      Constructor Description
      StringUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int utf8Length​(java.lang.CharSequence input)
      Calculate the number of bytes required to store given string in UTF-8 encoding.
      • Methods inherited from class java.lang.Object

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

      • StringUtils

        public StringUtils()
    • Method Detail

      • utf8Length

        public static int utf8Length​(java.lang.CharSequence input)
        Calculate the number of bytes required to store given string in UTF-8 encoding.