(String attribute)
| 156 | |
| 157 | |
| 158 | public int getInteger(String attribute) { |
| 159 | String value = get(attribute); |
| 160 | if (value == null) { |
| 161 | System.err.println("Integer not found: " + attribute); |
| 162 | return 0; |
| 163 | } |
| 164 | return Integer.parseInt(value); |
| 165 | } |
| 166 | |
| 167 | |
| 168 | @SuppressWarnings("unused") |