Java Cart .

Java Cart ValidationUtils java

package cart.utils;

//Validation Utils
//author - Lawrence Truett - FluffyCat.com
//date - August 29, 2003 - San Diego, CA
public class ValidationUtils {
    
    public static boolean isStringBlank(String stringIn) {
        if ((null == stringIn) || (stringIn.trim().equals(""))){
            return true;
        }  else {
            return false;
        }
    }
    
}
To download source right-click here and "Save As...".
Comments
Sign in to be the first to comment on Java Cart ValidationUtils java.