How to convert String object to Boolean object?
Visit http://msdn.microsoft.com/en-us/library/system.boolean.parse.aspx
This will give you an idea of what to do.
This is what I get from the Java documentation:
Method Detail
parseBoolean
public static boolean parseBoolean(String s)Parses the string argument as a boolean. The boolean returned represents the value true if the string argument is not
nulland is equal, ignoring case, to the string "true".Parameters:
s- the String containing the boolean representation to be parsedReturns: the boolean represented by the string argument
Since: 1.5