Package de.dlr.proseo.storagemgr.utils
Klasse StringUtils
java.lang.Object
de.dlr.proseo.storagemgr.utils.StringUtils
A utility class for common string operations.
- Autor:
- Denys Chaykovskiy
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibunggetMaxSubstring
(int maxLength) Returns the first maxLength characters of the string.
-
Konstruktordetails
-
StringUtils
Constructor sets the string- Parameter:
str
- String
-
-
Methodendetails
-
getMaxSubstring
Returns the first maxLength characters of the string. If the string shorter than maxLength, return the whole string- Parameter:
maxLength
-- Gibt zurück:
-