/** * Check that the string is non-null and has length > 0 * @param value Value * @throws IllegalArgumentException If value is null or length == 0 */ public static final void isNotZeroLength(String value) { isNotZeroLength(value,null); }
/** * Check that the string is not empty * @param string String * @param message Exception message if check fails * @throws IllegalArgumentException If string is null or empty * @since 3.1 */ public static final void isNotEmpty(String string, String message) { isNotZeroLength(string,message); }
/** * Check that the string is non-null and has length > 0 * @param value Value * @throws IllegalArgumentException If value is null or length == 0 */ public static final void isNotZeroLength(String value) { isNotZeroLength(value,null); }
/** * Check that the string is not empty * @param string String * @throws IllegalArgumentException If string is null or empty * @since 3.1 */ public static final void isNotEmpty(String string) { isNotZeroLength(string,null); }
/** * Check that the string is not empty * @param string String * @throws IllegalArgumentException If string is null or empty * @since 3.1 */ public static final void isNotEmpty(String string) { isNotZeroLength(string,null); }
/** * Check that the string is not empty * @param string String * @param message Exception message if check fails * @throws IllegalArgumentException If string is null or empty * @since 3.1 */ public static final void isNotEmpty(String string, String message) { isNotZeroLength(string,message); }