Package org.thymeleaf.util
Class Validate
- Object
-
- org.thymeleaf.util.Validate
-
public final class Validate extends Object
- Since:
- 1.0
- Author:
- Daniel Fernández
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
containsNoEmpties(Iterable<String> collection, String message)
static void
containsNoNulls(Iterable<?> collection, String message)
static void
containsNoNulls(Object[] array, String message)
static void
isTrue(boolean condition, String message)
static void
notEmpty(Object[] object, String message)
static void
notEmpty(String object, String message)
static void
notEmpty(Collection<?> object, String message)
static void
notNull(Object object, String message)
-
-
-
Method Detail
-
notEmpty
public static void notEmpty(Collection<?> object, String message)
-
isTrue
public static void isTrue(boolean condition, String message)
-
-