Returns the boolean value of the system property identified by string. @param string the name of the requested system property. @return true if the system property named by string exists and it is equal to "true" using case insensitive comp
(String string)
| 168 | * @see System#getProperty(String) |
| 169 | */ |
| 170 | public static boolean getBoolean(String string) { |
| 171 | if (string == null || string.length() == 0) { |
| 172 | return false; |
| 173 | } |
| 174 | return (parseBoolean(System.getProperty(string))); |
| 175 | } |
| 176 | |
| 177 | /** |
| 178 | * Parses the specified string as a {@code boolean}. |
nothing calls this directly
no test coverage detected