Parses the specified string as a boolean. @param s the string representation of a boolean value. @return true if s is not null and is equal to "true" using case insensitive comparison, false otherwise. @since 1.5
(String s)
| 185 | * @since 1.5 |
| 186 | */ |
| 187 | public static boolean parseBoolean(String s) { |
| 188 | return "true".equalsIgnoreCase(s); //$NON-NLS-1$ |
| 189 | } |
| 190 | |
| 191 | /** |
| 192 | * Converts the specified boolean to its string representation. |
no test coverage detected