Returns the given property as a short @param property The property to fetch @return A parsed short 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)
| 146 | * @throws NullPointerException if the property did not exist |
| 147 | */ |
| 148 | public final short getShort(final String property) { |
| 149 | return Short.parseShort(properties.get(property)); |
| 150 | } |
| 151 | |
| 152 | /** |
| 153 | * Returns the given property as a long |