org.kalmeo.util
Class BooleanUtil

java.lang.Object
  extended by org.kalmeo.util.BooleanUtil

public class BooleanUtil
extends java.lang.Object

Author:
bbeaulant

Field Summary
static java.lang.String FALSE
           
static java.lang.String NOT_FALSE
           
static java.lang.String TRUE
           
 
Constructor Summary
BooleanUtil()
           
 
Method Summary
static boolean parseBoolean(java.lang.String s)
          Parses the string argument as a boolean.
static java.lang.String toString(boolean value)
          Returns a String object representing this Boolean's value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRUE

public static final java.lang.String TRUE
See Also:
Constant Field Values

FALSE

public static final java.lang.String FALSE
See Also:
Constant Field Values

NOT_FALSE

public static final java.lang.String NOT_FALSE
See Also:
Constant Field Values
Constructor Detail

BooleanUtil

public BooleanUtil()
Method Detail

toString

public static java.lang.String toString(boolean value)
Returns a String object representing this Boolean's value. If this object represents the value true, a string equal to "true" is returned. Otherwise, a string equal to "false" is returned.

Parameters:
value -
Returns:
a string representation of this object.

parseBoolean

public static boolean parseBoolean(java.lang.String s)
Parses the string argument as a boolean.

Parameters:
s - a string.
Returns:
the boolean represented by the argument.


Copyright © 2007-2008 Kalmeo. All Rights Reserved.