Here you can find the source of booleanValue(String s)
boolean
corresponding to a given string.
public static boolean booleanValue(String s)
//package com.java2s; public class Main { /************************************************************************* * Returns the <code>boolean</code> corresponding to a given string. ************************************************************************/ // w w w . j a v a2 s . c o m public static boolean booleanValue(String s) { return Boolean.valueOf(s).booleanValue(); } }