org.kuali.common.util.nullify
Class NullUtils

java.lang.Object
  extended by org.kuali.common.util.nullify.NullUtils

public class NullUtils
extends Object


Field Summary
static String NONE
           
static String NULL
           
 
Constructor Summary
NullUtils()
           
 
Method Summary
static boolean isNone(String s)
          Return true if:
static boolean isNull(String s)
          Return true if:
static boolean isNullOrNone(String s)
          Return true if:
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NONE

public static final String NONE
See Also:
Constant Field Values

NULL

public static final String NULL
See Also:
Constant Field Values
Constructor Detail

NullUtils

public NullUtils()
Method Detail

isNull

public static final boolean isNull(String s)
Return true if:
  s == null
  StringUtils.equalsIgnoreCase("null", s) == true
 


isNone

public static final boolean isNone(String s)
Return true if:
 StringUtils.equalsIgnoreCase("none", s) == true
 


isNullOrNone

public static final boolean isNullOrNone(String s)
Return true if:
  s == null
  StringUtils.equalsIgnoreCase("null", s) == true
  StringUtils.equalsIgnoreCase("none", s) == true
 



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