Returns the given property as an integer @param property The property to fetch @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)
| 135 | * @throws NullPointerException if the property did not exist |
| 136 | */ |
| 137 | public final int getInt(final String property) { |
| 138 | return Integer.parseInt(properties.get(property)); |
| 139 | } |
| 140 | |
| 141 | /** |
| 142 | * Returns the given property as a short |