org.kuali.common.util
Class Assert

java.lang.Object
  extended by org.springframework.util.Assert
      extended by org.kuali.common.util.Assert

public abstract class Assert
extends org.springframework.util.Assert


Constructor Summary
Assert()
           
 
Method Summary
static void exists(File file)
           
static void exists(File file, String message)
           
static void exists(String location)
           
static void exists(String location, String message)
           
static void isEven(int i)
           
static void isEven(int i, String message)
           
static void isExistingDir(File dir)
           
static void isExistingDir(File dir, String message)
           
static void isFalse(boolean condition)
           
static void isFalse(boolean condition, String message)
           
static void isOdd(int i)
           
static void isOdd(int i, String message)
           
static void noBlanks(String... strings)
           
static void noBlanksWithMsg(String msg, String... strings)
           
static void noNulls(Object... objects)
           
static void noNulls(String msg, Object... objects)
          Deprecated. 
static void noNullStrings(String... strings)
           
static void noNullsWithMsg(String msg, Object... objects)
           
static void notBlank(String... strings)
          Deprecated. 
static void notBlank(String string)
           
static void notNull(Object... objects)
          Deprecated. 
 
Methods inherited from class org.springframework.util.Assert
doesNotContain, doesNotContain, hasLength, hasLength, hasText, hasText, isAssignable, isAssignable, isInstanceOf, isInstanceOf, isNull, isNull, isTrue, isTrue, noNullElements, noNullElements, notEmpty, notEmpty, notEmpty, notEmpty, notEmpty, notEmpty, notNull, notNull, state, state
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Assert

public Assert()
Method Detail

exists

public static void exists(String location)

exists

public static void exists(String location,
                          String message)

isExistingDir

public static void isExistingDir(File dir)

isExistingDir

public static void isExistingDir(File dir,
                                 String message)

exists

public static void exists(File file)

exists

public static void exists(File file,
                          String message)

isOdd

public static void isOdd(int i)

isOdd

public static void isOdd(int i,
                         String message)

isEven

public static void isEven(int i)

isEven

public static void isEven(int i,
                          String message)

isFalse

public static void isFalse(boolean condition)

isFalse

public static void isFalse(boolean condition,
                           String message)

notBlank

public static void notBlank(String string)

noBlanks

public static void noBlanks(String... strings)

noNullStrings

public static void noNullStrings(String... strings)

noNulls

public static void noNulls(Object... objects)

noNullsWithMsg

public static void noNullsWithMsg(String msg,
                                  Object... objects)

noBlanksWithMsg

public static void noBlanksWithMsg(String msg,
                                   String... strings)

notNull

@Deprecated
public static void notNull(Object... objects)
Deprecated. 


notBlank

@Deprecated
public static void notBlank(String... strings)
Deprecated. 


noNulls

@Deprecated
public static void noNulls(String msg,
                                      Object... objects)
Deprecated. 



Copyright © 2010-2013 The Kuali Foundation. All Rights Reserved.