Package de.dlr.proseo.storagemgr.utils
Class StringUtils
java.lang.Object
de.dlr.proseo.storagemgr.utils.StringUtils
A utility class for common string operations.
- Author:
- Denys Chaykovskiy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetMaxSubstring(int maxLength) Returns the first maxLength characters of the string.
-
Constructor Details
-
StringUtils
Constructor sets the string- Parameters:
str- String
-
-
Method Details
-
getMaxSubstring
Returns the first maxLength characters of the string. If the string shorter than maxLength, return the whole string- Parameters:
maxLength-- Returns:
-