Class StringUtils


  • public class StringUtils
    extends Object
    The Class StringUtils.
    Since:
    2.4
    Author:
    Sandrine Perrin
    • Constructor Detail

      • StringUtils

        public StringUtils()
    • Method Detail

      • stackTraceToString

        public static String stackTraceToString​(Throwable t)
        Convert a stack trace of an exception into a string. TODO Remove this method once Eoulsan 2.0-alpha7 will be used, and replace by StringUtils.stackTraceToString()
        Parameters:
        t - the throwable exception
        Returns:
        a string with the stack trace