Package com.perforce.p4java.common.base
Class StringHelper
- java.lang.Object
-
- com.perforce.p4java.common.base.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)
-
-
-
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)
-
-