Class StringUtils

java.lang.Object
de.dlr.proseo.storagemgr.utils.StringUtils

public class StringUtils extends Object
A utility class for common string operations.
Author:
Denys Chaykovskiy
  • Constructor Details

    • StringUtils

      public StringUtils(String str)
      Constructor sets the string
      Parameters:
      str - String
  • Method Details

    • getMaxSubstring

      public String getMaxSubstring(int maxLength)
      Returns the first maxLength characters of the string. If the string shorter than maxLength, return the whole string
      Parameters:
      maxLength -
      Returns: