StringUtil
Various String utility functions.
Most of the functions herein are re-implementations of the ones in Apache Commons StringUtils — kept in this codebase to avoid pulling in the full library.
Functions
Link copied to clipboard
Normalizes a path containing .., . and empty segments. X/foo/../Y becomes X/Y. Does not handle leading ...
Link copied to clipboard
Returns text, or defaultValue (default "") if text is null.
Link copied to clipboard