Class StrUtils


  • public final class StrUtils
    extends java.lang.Object
    Set of auxiliary string functions.
    Since:
    1.1.2
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private StrUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String pressing​(java.lang.String value)
      Remove all white space chars and ISO control chars.
      static java.lang.String trimLeft​(java.lang.String value)
      Trim left white spaces in string.
      static java.lang.String trimRight​(java.lang.String value)
      Trim right white spaces in string.
      • Methods inherited from class java.lang.Object

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

      • StrUtils

        private StrUtils()
    • Method Detail

      • trimLeft

        public static java.lang.String trimLeft​(java.lang.String value)
        Trim left white spaces in string.
        Parameters:
        value - string to be trimmed
        Returns:
        trimmed string
        Since:
        1.1.2
      • trimRight

        public static java.lang.String trimRight​(java.lang.String value)
        Trim right white spaces in string.
        Parameters:
        value - string to be trimmed
        Returns:
        trimmed string
      • pressing

        public static java.lang.String pressing​(java.lang.String value)
        Remove all white space chars and ISO control chars.
        Parameters:
        value - string to be processed
        Returns:
        pressed string without white spaces and control chars
        Since:
        1.1.2