java String 转换为 boolean two method 一:
String s= "true "; boolean x; x=s.equals( "true ");
new Boolean( "true ").booleanValue()