Boolean.parseBoolean(String str);
Parses the string argument as a boolean. The boolean returned represents the value true if the string argument is not null and is equal, ignoring case, to the string "true".
原文:http://www.cnblogs.com/h-tips/p/5462308.html