Returns the given property as an integer @param property The property to load @return A parsed integer or an exception if the value could not be parsed @throws NumberFormatException if the property could not be parsed @throws NullPointerException if the property did not exist
(final String property)
| 337 | * @throws NullPointerException if the property did not exist |
| 338 | */ |
| 339 | public final int getInt(final String property) { |
| 340 | return Integer.parseInt(sanitize(properties.get(property))); |
| 341 | } |
| 342 | |
| 343 | /** |
| 344 | * Returns the given string trimed or null if is null |