org.ektorp.util
Class Assert

java.lang.Object
  extended by org.ektorp.util.Assert

public final class Assert
extends Object

Author:
henrik lundgren

Method Summary
static void hasText(String s)
           
static void hasText(String s, String message)
           
static void isNull(Object o, String message)
           
static void isTrue(boolean b)
           
static void isTrue(boolean b, String message)
           
static void notEmpty(Collection<?> c, String message)
           
static void notEmpty(Object[] a, String message)
           
static void notNull(Object o)
           
static void notNull(Object o, String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

notNull

public static void notNull(Object o)

notNull

public static void notNull(Object o,
                           String message)

isNull

public static void isNull(Object o,
                          String message)

isTrue

public static void isTrue(boolean b)

isTrue

public static void isTrue(boolean b,
                          String message)

notEmpty

public static void notEmpty(Collection<?> c,
                            String message)

notEmpty

public static void notEmpty(Object[] a,
                            String message)

hasText

public static void hasText(String s)

hasText

public static void hasText(String s,
                           String message)


Copyright © 2011. All Rights Reserved.