com.liferay.faces.util.helper
Class BooleanHelper
java.lang.Object
com.liferay.faces.util.helper.BooleanHelper
public class BooleanHelper
- extends Object
This class provides additional methods that operate against the javax.lang.Boolean system class.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TRUE_VALUES
public static final String[] TRUE_VALUES
FALSE_VALUES
public static final String[] FALSE_VALUES
BooleanHelper
public BooleanHelper()
toBoolean
public static boolean toBoolean(String value)
toBoolean
public static boolean toBoolean(Object value,
boolean defaultValue)
toBoolean
public static boolean toBoolean(String value,
boolean defaultValue)
isBooleanToken
public static boolean isBooleanToken(String value)
isFalseToken
public static boolean isFalseToken(String value)
isTrueToken
public static boolean isTrueToken(String value)
Copyright © 2015 Liferay, Inc.. All rights reserved.