Class StringHelper


  • public class StringHelper
    extends java.lang.Object
    Since:
    30/08/2016
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String firstConditionIsTrue​(boolean expression, java.lang.String first, java.lang.String second)  
      static java.lang.String firstNonBlank​(java.lang.String first, java.lang.String second)  
      static java.lang.String format​(java.lang.String template, java.lang.Object... args)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • format

        public static java.lang.String format​(java.lang.String template,
                                              @Nullable
                                              java.lang.Object... args)
      • firstNonBlank

        public static java.lang.String firstNonBlank​(java.lang.String first,
                                                     java.lang.String second)
      • firstConditionIsTrue

        public static java.lang.String firstConditionIsTrue​(boolean expression,
                                                            java.lang.String first,
                                                            java.lang.String second)