Package com.tnsai.quality.internal
Class StringUtils
java.lang.Object
com.tnsai.quality.internal.StringUtils
Internal string utilities shared across tnsai-quality subpackages.
This class is not part of the public API.
-
Method Summary
-
Method Details
-
truncate
Truncates a string to the given maximum length, appending "..." if truncated.- Parameters:
text- the text to truncatemaxLength- the maximum length- Returns:
- the truncated string
-