Returns the given property as a float @param property The property to fetch @return A parsed float 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)
| 168 | * @throws NullPointerException if the property did not exist |
| 169 | */ |
| 170 | public final float getFloat(final String property) { |
| 171 | return Float.parseFloat(properties.get(property)); |
| 172 | } |
| 173 | |
| 174 | /** |
| 175 | * Returns the given property as a double |