Determines if the given property is in the map @param property The property to search for @return True if the property exists and has a value, not an empty string
(final String property)
| 249 | * @return True if the property exists and has a value, not an empty string |
| 250 | */ |
| 251 | public final boolean hasProperty(final String property) { |
| 252 | final String val = properties.get(property); |
| 253 | if (val == null) |
| 254 | return false; |
| 255 | if (val.isEmpty()) |
| 256 | return false; |
| 257 | return true; |
| 258 | } |
| 259 | |
| 260 | /** |
| 261 | * Returns a simple string with the configured properties for debugging. Note |