stringutils
Function defaultIfEmpty

java.lang.String defaultIfEmpty(java.lang.String, java.lang.String)
Returns either the passed in String, or if the String is empty or null, the value of defaultStr. The function takes 2 parameters:
java.lang.String: the String to check, may be null
java.lang.String: the default String to return if the string to check is null of empty


Function Information
Function Classorg.apache.commons.lang.StringUtils
Function Signaturejava.lang.String defaultIfEmpty(java.lang.String, java.lang.String)
Display NameNone


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.