public enum Truth extends Enum<Truth>
| Modifier and Type | Method and Description | 
|---|---|
| Collection<String> | getTruthStrings() | 
| static Boolean | strToBooleanIgnoreCase(String str)Returns the Boolean value of a string ignoring case. | 
| static Boolean | strToBooleanIgnoreCase(String str,
                      Boolean defaultValue)Returns the Boolean value of a string ignoring case. | 
| static Truth | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static Truth[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static Truth[] values()
for (Truth c : Truth.values()) System.out.println(c);
public static Truth valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic Collection<String> getTruthStrings()
public static Boolean strToBooleanIgnoreCase(String str)
str - the string.public static Boolean strToBooleanIgnoreCase(String str, Boolean defaultValue)
str - the string.defaultValue - default value to use when the str is not a recognized as a boolean value.Copyright © 2005–2016 The Kuali Foundation. All rights reserved.